How to I generate different expiry time for refresh token than the access token ?

Not applicable

i am using password grant type to generate an access token.an access toekn and a refresh token is generate in the response.How do I set a expiry time for refresh token that is generated ? Is there any way I can update the expiry time of refresh token ?

Solved Solved
1 2 682
1 ACCEPTED SOLUTION

Not applicable

looks like we can add the below tag in Generate Access Token policy

<RefreshTokenExpiresIn ref="flow.variable"> {default_value} </RefreshTokenExpiresIn>

View solution in original post

2 REPLIES 2

Not applicable

looks like we can add the below tag in Generate Access Token policy

<RefreshTokenExpiresIn ref="flow.variable"> {default_value} </RefreshTokenExpiresIn>

And no, you cannot update the expiry time of a refresh token, once it has been generated.