What’s the difference between an ID token and an access token?
25 July 2022 (Updated 26 July 2022)
ID tokens are used for authentication
An ID token is the JWT that a app (sometimes referred to as a relying party / RP) receives when a user has authenticated using an identity provider (e.g., Google or Facebook). ID tokens are artefacts of OpenID connect and are used for authentication.
An access token is used to grant a relying party access to a resource (e.g., an API). Access tokens are artefacts of OAuth2.0 and are used for authorization.
Sources
Tagged:
Web security
Thanks for your comment ๐. Once it's approved, it will appear here.
Leave a comment