What's the difference between OpenID and OAuth?

后端 未结 21 972
渐次进展
渐次进展 2020-11-22 16:56

I\'m really trying to understand the difference between OpenID and OAuth? Maybe they\'re two totally separate things?

21条回答
  •  悲&欢浪女
    2020-11-22 17:18

    I have read a lot of articles on this topic and found below link very useful to distinguish OpenId and OAuth. Basically we need to understand difference between id_token and access_token. This will help in distinguishing OpenId Authentication and OAuth Authorizarion.

    My conclusion:

    id_token = JWT Token

    access_token = GUID string

    https://nhsconnect.github.io/national-authentication/TechOverview_Artefacts.html#:~:text=A%20JSON%20Web%20Token%20(JWT,used%20during%20the%20authentication%20service.&text=An%20access%20tokens%20is%20a%20credential%20used%20to%20access%20protected%20resources.
    
    
    https://www.youtube.com/watch?v=BdKmZ7mPNns
    

    Youtube link OpenId time start: 08:10

    Hope this well help.

提交回复
热议问题