Setting amr claim within rules

Hi,

Is it possible to set/append to the amr claim within the access token (context.accessToken.amr) during the execution of a rule?

Unfortunately, I have not been able to achieve this, the amr claim seems to removed/sanitised away.

Thanks in advance.

Matt

Hi @matthew.nolf,

Non-namespaced claims are typically removed. Try adding a custom claim with a non-auth0 namespace, you can add whatever you would like to the token.

1 Like