Refresh Token Rotation: how to enable it? #564
-
Hello, Does Indigo IAM implement the refresh token rotation mechanism? If it is the case, could you point me to some documentation to enable it, please? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hello, for now IAM does not implement the refresh token rotation mechanism (thus, there is no documentation about that). As far as I know, RT rotation would break the Anyway, the RT rotation is mandatory in the OAuth 2.1 draft and we can think about implementing it at some point. |
Beta Was this translation helpful? Give feedback.
Hello, for now IAM does not implement the refresh token rotation mechanism (thus, there is no documentation about that).
As far as I know, RT rotation would break the
oidc-token
command when asking for an access token.In fact, the
oidc-gen
command registers a new client and triggers an authorization code flow including theoffline_access
scope in order to request a RT. Then, the RT is stored locally together with the oidc-agent configuration, and any time one runs theoidc-token
command it triggers a refresh token flow.Anyway, the RT rotation is mandatory in the OAuth 2.1 draft and we can think about implementing it at some point.