Releases: workos/authkit-js
Releases · workos/authkit-js
v0.4.0
Changes
- Only proactively refreshes active tabs (inactive tabs will still be refreshed as necessary when
getAccessToken
is called).
- Doesn't call
onRefreshFailure
on the initial refresh request
Fixes
- authkit-js would previously return stale tokens after a browser lock error
Removes
refreshSession
(getAccessToken
will refresh when necessary)
v0.3.0
- Added
onRefreshError
callback
- Changed:
getAccessToken
throws a LoginRequiredError
if an access token cannot be returned.
v0.2.1
Fixes:
- Schedules token-refreshing after exchanging authorization code
- Calls
onRefresh()
after successful code exchange response
v0.2.0
- Added
passwordResetToken
option for signIn()
v0.1.0
Added
getClaims
function to decode access tokens.
onRefresh
callback that is fired when new authentication responses are received.