Getting a random error: policy_enforced on most Google Apps when using OAuth 2

前端 未结 2 712
轻奢々
轻奢々 2020-12-15 13:44

Since yesterday (October 2nd, 2014), there seem to be random errors when trying to access apps that use OAuth 2.

There are two problems:

  1. We can\'t a

相关标签:
2条回答
  • 2020-12-15 14:15

    I caused the same problem at OpenID Connect authentication, so I had been made a query to Google Cloud Platform support.

    Google updated to be not able to short name scope on Marketplace (without an announcement). Now Google are considering to re-use short name scopes. So We have to use long URL scope until Google corresponding to complete.

    • email replace to https://www.googleapis.com/auth/userinfo.email or https://www.googleapis.com/auth/plus.profile.emails.read
    • profile replace to https://www.googleapis.com/auth/userinfo.profile or https://www.googleapis.com/auth/plus.login
    • openid replace to https://www.googleapis.com/auth/plus.me
    0 讨论(0)
  • 2020-12-15 14:21

    We are getting the same issue on our application. I have tested with using long names for scopes, but it did not help.

    Also, it appears that the error only occurs from a Google Apps account. Regular Google account works fine.

    The error does not occur for the users who have already given permission to the application.

    0 讨论(0)
提交回复
热议问题