Open
Description
Is this related to a new or existing framework?
No response
Is this related to a new or existing API?
Authentication
Is this related to another service?
Cognito
Describe the feature you'd like to request
On April the rotation of refresh tokens was added as a feature, as per this post https://aws.amazon.com/about-aws/whats-new/2025/04/amazon-cognito-refresh-token-rotation/ since it can be used let's implement it in the library
Describe the solution you'd like
I suggest to add it to the fetchAuthSession({ forceRefresh: true })
or to add another parameter to make it happen.
Describe alternatives you've considered
Additional context
No response
Is this something that you'd be interested in working on?
- 👋 I may be able to implement this feature request
-
⚠️ This feature might incur a breaking change