简体   繁体   English

更新刷新令牌寿命 Azure AD B2C 用户流是否使当前刷新令牌过期

[英]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.我有一个使用 Azure AD B2C 用户流进行身份验证的移动应用客户端。

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 :您可以使用ROPC 流程进行快速验证:

  1. Acquire an access token/refresh token pair.获取访问令牌/刷新令牌对。

  2. Change the Refresh token lifetime in ROPC user flow.更改 ROPC 用户流中的刷新令牌生存期

  3. Use the refresh token above to acquire a new access token.使用上面的刷新令牌获取新的访问令牌。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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