
rxr63 (rxr63) asked a question.
I have created integration with IdP provider. Then configured rule for that IdP. After trying to login to Okta, then I redirected to IdP. Log in to IdP and then redirected and successfully log in to Okta. I can get access token from local storage and parse it. Then I do not see custom claims which I added in authorization server. I am using IdP with protocol SAML2. How can I customize access token for my needs ?

Hello @rxr63 (rxr63),
To include custom claims in an ID token or an access token, add the claim to your Custom Authorization Server.
You can learn more about this topic using the following links:
https://developer.okta.com/docs/guides/customize-tokens-returned-from-okta/main/#add-a-custom-claim-to-a-token
If you need further assistance you can 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.