I have a React single page app with Okta authentication. The authentication works properly, however, I cannot seem to get the user information I need to customize the application.
Once the user is authenticated, I’m using the oktaAuth.token.getUserInfo() method but it only returns the following user’s properties:
I’m trying to get the firstname (given_name) and lastname (family_name) of the user.
The oktaAuth instance has been configured with the following scopes:
openid, profile, email
Thanks for the help,