Skip to content

Refresh Token Rotation: how to enable it? #564

Answered by federicaagostini
aldbr asked this question in Q&A
Discussion options

You must be logged in to vote

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 the offline_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 the oidc-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.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@aldbr
Comment options

Answer selected by aldbr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants