Releases: workos/authkit-js
Releases · workos/authkit-js
v0.8.0
Changes
- Avoids initial refresh when user has no session (#61)
Fixes
- Throws error instead of returning stale access tokens when offline (#63)
- Properly exports
OnRefreshResponse
type
v0.7.3
Changes
- export type
OnRefreshResponse
v0.7.2
Changes
onRefresh
callbacks no longer receive the refresh token (#58)
v0.7.1
Fixed
- Avoids an issue where multiple authentication requests could queue up when multiple
getAccessToken
calls are made when the token needs to be refreshed.
v0.7.0
Added
switchToOrganization
can be used to switch a user's active organization.
signIn
and signUp
now take organizationId
and loginHint
parameters.
v0.6.1
Fixed
- Under-the-hood changes to improve the locking and synchronization between tabs during session refresh. (#41)
v0.6.0
Added
- Added new
refreshBufferInterval
option to configure how soon the client will attempt to refresh. (#39)
v0.5.1
Changed
Updated console error message with more explanation when a code could not be exchanged due to missing codeVerifier.
v0.5.0
Added context
parameter to signIn()
/signUp()
.
v0.4.1
fixes an issue where we repeatedly attempted to refresh the session after it had already ended.