My website didn't have a problem in the past for login using Google oauth. Suddenly I am getting the above error.
You don't need to downgrade your omniauth-google-oauth2
version. You can simply add verify_iss: false
to your config.omniauth
.
config.omniauth :google_oauth2,
Rails.application.secrets.oauth_google_id,
Rails.application.secrets.oauth_google_secret,
verify_iss: false
For more info, look at the verify_iss
in https://github.com/zquestz/omniauth-google-oauth2#configuration
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With