-
Notifications
You must be signed in to change notification settings - Fork 96
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support hmac_secret rotation in jwt_refresh feature
This supports the use of the previous secret, but does not take any actions to update it to the new secret (there isn't actions you can take, as the token is submitted as a parameter, it's not part of the session or a cookie). However, as jwt refresh tokens are only valid for 30 minutes by default, rotation to a new secret will occur quickly. The only exception is when allow_refresh_with_expired_jwt_access_token? is set, in which case the user would need to decide how long they want to keep the old secret around to support old expired access tokens.
- Loading branch information
1 parent
c42f6a2
commit dee3b8d
Showing
3 changed files
with
99 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters