How to use OAuth2 / OpenID Connect with UserService?

前端 未结 2 779
青春惊慌失措
青春惊慌失措 2021-01-16 15:41

I\'m running several apps on Google App Engine. I am using the UserService for Authentication to be able to send emails on behalf of the user etc. and OAuth2 for API authori

相关标签:
2条回答
  • 2021-01-16 16:13

    This is similar to another question. The challenge is that the User service is using still using OpenID. You'll need to use a Client library to authenticate the user.

    Here are good samples in Python & Java.

    0 讨论(0)
  • 2021-01-16 16:19

    Currently we use Openid 2.0 for user authentication and Oauth for authorization of other services. Openid 2.0 is deprecated and Google will not provide authentication using Open Id. For time line refer this link https://developers.google.com/+/api/auth-migration#timetable

    So they are suggesting to use OpenidConnect for authentication of user. OpenIdConnect is a layer written over Oauth 2.0 for authentication of user.

    For references visit http://openid.net/connect/ and https://developers.google.com/accounts/docs/OAuth2Login?hl=ja#appsetup

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