我的网站过去没有使用Google oauth登录的问题.突然间我收到了上述错误.
您无需降级您的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
Run Code Online (Sandbox Code Playgroud)
欲了解更多信息,看看verify_iss在https://github.com/zquestz/omniauth-google-oauth2#configuration
| 归档时间: |
|
| 查看次数: |
1588 次 |
| 最近记录: |