liveBook · Manning

UserInfo endpoint

As explained in Software Security for Developers

The UserInfo endpoint is a standardized OpenID Connect endpoint that returns additional claims and profile information about an authenticated user.

The UserInfo endpoint is a standardized OpenID Connect endpoint that lets an application securely retrieve additional profile claims directly from the authorization server. It complements the ID token when the application needs more identity information than the token contains. section 13.3.2 section 13.3

When the ID token is not enough

After a user signs in, an application may need the user’s name, email address, or profile picture. Instead of relying only on the claims included in the ID token, it can securely fetch this additional or dynamic profile data through the UserInfo endpoint. section 13.3.2 section 13.5

The endpoint matters because it:

  • Provides a standardized way to retrieve user details from the authorization server. section 13.3.2
  • Complements the ID token with profile information that may be dynamic, extensive, or absent from the token. section 13.3.2
  • Supports OIDC’s identity layer alongside authentication mechanisms and ID tokens. section 13.3

The practical distinction is simple: OAuth 2.0 answers what an application can access, while OpenID Connect also establishes who the user is. The UserInfo endpoint supplies further profile data after that identity is established. section 13.5 section 13.6

How Software Security for Developers covers it

How deep it goes
Explains the endpoint’s purpose, profile-data role, and relationship to ID tokens without detailing request syntax or implementation.
Examples
Uses names, email addresses, and profile pictures as examples of additional user claims.
What it assumes
Assumes familiarity with OAuth 2.0 and OIDC fundamentals while distinguishing authentication from authorization.
What you can do after
Evaluate when an application needs UserInfo data beyond the identity claims included in an ID token.
How it connects
Connects the UserInfo endpoint to OpenID Connect, OAuth 2.0, the identity layer, authorization servers, and ID tokens.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Software Security for Developers. The section links point to the parts of the book it draws on.