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

牧云@^-^@ 提交于 2019-11-29 00:29:28

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.

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.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!