Custom Attributes in token claim and userinfo api Skip to main content
https://support.okta.com/help/answers?id=9060z000000jjgsqac&refurl=http%3a%2f%2fsupport.okta.com%2fhelp%2fanswers
How satisfied are you with the Okta Help Center?
Thank you for your feedback!
How satisfied are you with the Okta Help Center?
1
2
3
4
5
Very Dissatisfied
Very satisfied
Enter content less than 200 characters.
Ask Search:
Shai Cantor-oneloginShai Cantor-onelogin 

Custom Attributes in token claim and userinfo api

Hi guys.

I added two custom attributes to an Identity Provider I configurated.
My goal is to have those attributes encoded in the claim part of the id_token plus to get them via the /userinfo API.

Right now it seems like 'Base' attributes are finding their way to the token + to the /userinfo response but no the custom attributes.

I would like to get some help!

Thanks a lot,
Niv.
Mihai NegoitaMihai Negoita (Okta, Inc.)
Hi Shai,  

Thank you for reaching out to the Okta Community.
Please open a Customer Support Ticket so we can track the issue, review your configuration and troubleshoot.

Regards,

Mihai Negoita
Okta Global Customer Care
Dylann FezeuDylann Fezeu (Customer First Programs)

Hello Shai,

Thanks for posting your inquiry in Okta Community Portal.

If you receive a great answer to your question(s), please help readers find it by marking it the best answer. Hover over the answer and click "Best Answer." 

Thank you,

Dylann Fezeu
Okta Help Center Team