OPENId是什么, OAUTH 是什么

Posted hualiu0

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了OPENId是什么, OAUTH 是什么相关的知识,希望对你有一定的参考价值。

what is openId

open id is said to be a protocol which uses url as username, so if a website supports openId, user only needs to input password.

you can set up your own openId registry server, or use a 3rd party openId registry, the callback URL will lead user accross identification.

open id requires the client to send request to openId registry servers, which is called IdentityServer, this is the origin of how openId works, it was first introduced by a guy.

some websites have already stopped supporting openId, like google.

openId protocol makes single point login possible, providing a universal identification server way.

what is OAUTH

oauth

oauth is another authorization protocol, which seperates into 3 main parts

there are 3 servers in oauth,
1. unauthorized request token server
2. with one, go to get authorized request token server to get authorized token, and redirect to callback url
3. with authorized token from 2, go to access token server to get access token, and access method signatures in defined timespan

以上是关于OPENId是什么, OAUTH 是什么的主要内容,如果未能解决你的问题,请参考以下文章

微信公众平台,如何获取用户ID

什么 OpenID Connect 授权流程来验证移动应用程序用户?

OAuth/OpenID - 我应该使用哪个?

我实施 OAuth/OpenId 有多差?

OpenId 连接和 OAuth 2.0 密码授予 - 有啥区别?

OpenId / OAuth 2 流 - 使用 AWS Cognito 的场景