-
Notifications
You must be signed in to change notification settings - Fork 719
Refresh token: expire after a certain interval? #4913
Comments
@brockallen Was the "mark a refresh token as consumed rather than delete it from the DB" behaviour implemented in version 4.0.1 or something? On the version 3.x we're using, it actually is deleting it. |
yes. Starting with v4 |
@leastprivilege Is there any guide for migrating from identityserver 3.x to 4.x? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
We're currently using refresh tokens with the following setup:
We want to keep using the sliding token expiration, but we want to allow for the client making several quick requests in succession with the same refresh token by having it expire after, say, 1 hour instead of immediately. My understanding is that if we change
RefreshTokenUsage
toTokenUsage.ReUse
, the refresh token won't expire at all, butOneTimeOnly
makes it expire immediately. Is there a way we can achieve this "expire after x interval" behaviour?The text was updated successfully, but these errors were encountered: