简体   繁体   中英

Does updating the Refresh token life Azure AD B2C User flows expire current Refresh tokens

I have a client with mobile apps that uses Azure AD B2C User flows for authentication.

There is a Policy for SignIn that has the Refresh token lifetime (days), this was set to low and we need to increase it.

If we change this policy setting, will it cause currently valid Refresh token's to expire or remain valid?

It is not listed as a reason in Token revocation

No, change the policy setting won't cause currently valid Refresh token's to expire.

The old refresh token will still be valid.

You can have a quick verification by using ROPC flow :

  1. Acquire an access token/refresh token pair.

  2. Change the Refresh token lifetime in ROPC user flow.

  3. Use the refresh token above to acquire a new access token.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM