The OAuth2 component that authenticates users, obtains authorization, and issues access tokens to clients after successful authentication.
OAuth2 Authorization Server is the component responsible for authenticating the resource owner (user), obtaining their authorization, and issuing access tokens to clients. Examples include Google, GitHub, and Facebook's authentication services.
// Authorization Endpoint - user-facing
GET /authorize
?response_type=code
&client_id=...
&redirect_uri=...
&scope=...
&state=...
// Token Endpoint - machine-to-machine
POST /token
grant_type=authorization_code
&code=...
&client_id=...
&client_secret=...
// Token Introspection (optional)
POST /introspect
token=...
// Token Revocation (optional)
POST /revoke
token=...