开发者

How can I perform OAuth2 with OpenId

开发者 https://www.devze.com 2023-02-25 05:33 出处:网络
We want to do authentication and authorization with services Google provided on our website. OAuth 1.0 c开发者_如何学JAVAan be combined to OpenId through OpenId Hybrid extension.

We want to do authentication and authorization with services Google provided on our website. OAuth 1.0 c开发者_如何学JAVAan be combined to OpenId through OpenId Hybrid extension. Can we achieve the same function for OAuth2.0? (do OAuth2 with OpenId authentication)


"OpenID Connect" will be what you need. http://openidconnect.com/

It's basically OAuth2 and gives you OpenID identifier in access token response. It also gives you an "profile attributes" API endpoint which is accessible using access token.

However, the spec is not ready to implement. It'll take time, since OpenID community is always slow.

0

精彩评论

暂无评论...
验证码 换一张
取 消