Customize access_token

Hello Everyone,

I would like to know if it is possible to update any existing claims for access_token like updating the “cid” to “clientid”.
Also, any pointers on how to add additional scopes to access_token as a new claim.

Thanks,
Anagha

You won’t be able to change the standard claims, but you can add additional ones:
https://developer.okta.com/authentication-guide/implementing-authentication/set-up-authz-server

Can you explain your use case for wanting to change the claims? Maybe we can suggest an alternative?

Thanks for the reply. So, the requirement is to show the client id coming in the claims want to be named as “ClientId” but not the default “cid”.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.