
0glcu (0glcu) asked a question.
What is the external IDP configuration required on Okta to obtain user roles from the External IDPs( OIDC configured IDPs) in the access/id token as claims. For example I have an OIDC app integration (single page app) and an external IDP configured in Okta and when a user from external IDP login to the single page app, user gets authenticated and an access token is passed back to the app with claims email, profile (email, profile are included as scopes in external IDP OIDC configuration ). What is the configuration required on Okta to obtain user roles from external id as claims in the access token ?

Hello @0glcu (0glcu),
Please check the following link with information: https://developer.okta.com/docs/guides/customize-tokens-returned-from-okta/add-custom-claim/
Also, feel free to post this question on our Okta Developer Forums: https://devforum.okta.com,
and they should be able to help you with this.
Regards,
Natalia
Okta Inc.