Modify content of refresh token

We have some custom claims and would like to have it in the refresh token. Is there any doc that explains the same ?

Basically, we have custom claims in the access token, however the same is not available when we exchange a refresh token for a new access token

Hi @joshfr ,

if you run a recent version of AM (7.2 or newer), you can configure Persistent Claims on the OAuth2 Provider service. Claims in that list are persistent between token refreshes.
Relevant documentation: Authorization server configuration :: AM 7.4.0


1 Like

Thanks @volker.scheuber , works like a charm!