<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D54z00008MLMXlCAPOkta Classic EngineAPI Access ManagementAnswered2024-04-16T11:17:28.000Z2022-11-09T13:00:29.000Z2022-11-11T06:32:43.000Z

831tc (831tc) asked a question.

How to get custom claims/mappings in /userinfo

Hi,

For the OIDC authorization code flow, when I make a request to /userinfo with the access token, it only returns these attributes;

  • sub
  • name
  • locale
  • email
  • preferred_username
  • given_name
  • family_name
  • zoneinfo
  • updated_at
  • email_verified

However there are some extra attribute mappings on the app profile mapping. I can validate it via preview and see that user.primaryPhone is also mapped.

Additionally, I configured a custom claim as below. But still, I don't see this attribute in the response body returned from /userinfo endpoint. Is there anything I'm missing here ?

Image is not available
ow;

 


This question is closed.
Loading
How to get custom claims/mappings in /userinfo