DEV Community

Cover image for OAuth2.0 - Overview
JL
JL

Posted on

OAuth2.0 - Overview

Roles Clients and Tokens

Roles: Client, Authorization Server, Resource Server
Image description

2 types of clients: Confidential and Public
Image description

2 token types

Image description

Identifier Type Token: The resource server needs to further query from auth server's DB about this token, re what user it is.
Image description
Image description

Self-Contained Token (e.g. JWT)
The coded token be like:

Image description

Content

Image description

OpenID Connect (OIDC)
OpenID Connect is an additional layer which adds idenity information about the current authenticated user. It makes the authorization server an Identiy Provider.

Image description

Image description

Here is a list of extra ID data to the access token:

Image description

Top comments (0)