Skip to content

Commit e9ae769

Browse files
authored
Add missing changeset (#1867)
1 parent 8df4a50 commit e9ae769

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Diff for: .changeset/khaki-apes-repeat.md

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
'@aws-amplify/ui': patch
3+
---
4+
5+
This patch ensures refresh tokens are handled properly after expiration.
6+
7+
Refresh tokens are used to refresh your idToken and accessToken. While it's uncommon for refresh tokens to expire in app due to their longevity (default 30 days), this would cause an early `tokenRefresh_failure` event on refresh which previously confused the authenticator. This is now handled properly from the Authenticator.
8+
9+
See https://github.com/aws-amplify/amplify-ui/pull/1863 for technical details. Note that token refresh is attempted when (1) on refresh, and (2) an Amplify API call is attempted but it gets back a token expiration exception.

0 commit comments

Comments
 (0)