JWT-Based Authentication in React: Storage, Validation and the localStorage Question
When a user signs in to a React application using OpenID Connect (OIDC), the application typically receives an access token for calling APIs and an ID token containing information about the authenticated user. The ID token is returned as part of a successful OIDC flow when the application requests the openid scope.
If you followed the Authorization Code flow with PKCE, you would have seen these tokens in the token response.


