<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
0D54z0000AKAzxyCQDOkta Classic EngineSingle Sign-OnAnswered2025-03-17T20:05:34.000Z2025-03-14T17:53:15.000Z2025-03-17T20:05:34.000Z

ValT.08554 (Customer) asked a question.

Need help adding claims to root level of token

I need the family_name and given_name tokens to be included in the root level of the id_token rather than nested. I have mapped everything correctly. The application in question is Gravitee and the first name and last name come through as Null Null even though i have these claims mapped and they show up in the nested structure of the account.

 

However in the claim

 

im only getting preferred_username..

what am i doing wrong? Here's a sample from postman.

 

Image is not available


This question is closed.
Loading
Need help adding claims to root level of token
Okta Support Agent (Beta)

Terms of Service

Hello! I'm the Okta Support Agent (Beta), your go-to resource for questions about Okta products. Please remember for your security and privacy, do not share any Personally Identifiable Information (PII) such as passwords, IP addresses, or other details with me.

Okta Privacy Policy and Terms of Service apply