My website did not have a problem in the past for logging in using Google oauth. Suddenly I get the error above.
You do not need to downgrade omniauth-google-oauth2. You can just add verify_iss: falseto yours config.omniauth.
omniauth-google-oauth2
verify_iss: false
config.omniauth
config.omniauth :google_oauth2, Rails.application.secrets.oauth_google_id, Rails.application.secrets.oauth_google_secret, verify_iss: false
For more information, check verify_issin https://github.com/zquestz/omniauth-google-oauth2#configuration
verify_iss
RoR "omniauth-google-oauth2 - 0.5.1". (0.5.0), . , Google .
Source: https://habr.com/ru/post/1682086/More articles:In Swift 3, what is a way to compare two closures? - closuresHow to print pattern number - javaWork with large numbers in Lua - luaWhy is the x86 CR1 control register reserved? - x86Create inline std :: string - c ++Factor instance for a two-parameter sample constructor in Scala - scalaHow to limit cfdump size for objects - coldfusionRun Excel macro from VB Script, but don't request VBA runtime errors - excel-vbaКаковы плюсы и минусы использования uint64_t как универсального адреса памяти вместо void *? - c++why does my response application show a blank page after compiling webpack-dev-server? - reactjsAll Articles