Skip to content

Releases: workos/authkit-js

v0.8.0

31 Dec 23:45
Compare
Choose a tag to compare

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

11 Dec 20:20
Compare
Choose a tag to compare

Changes

  • export type OnRefreshResponse

v0.7.2

11 Dec 19:42
Compare
Choose a tag to compare

Changes

  • onRefresh callbacks no longer receive the refresh token (#58)

v0.7.1

02 Dec 17:13
Compare
Choose a tag to compare

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

11 Nov 20:55
Compare
Choose a tag to compare

Added

  • switchToOrganization can be used to switch a user's active organization.
  • signIn and signUp now take organizationId and loginHint parameters.

v0.6.1

01 Nov 20:39
6619864
Compare
Choose a tag to compare

Fixed

  • Under-the-hood changes to improve the locking and synchronization between tabs during session refresh. (#41)

v0.6.0

28 Oct 17:53
269b845
Compare
Choose a tag to compare

Added

  • Added new refreshBufferInterval option to configure how soon the client will attempt to refresh. (#39)

v0.5.1

14 Sep 01:05
cdef77b
Compare
Choose a tag to compare

Changed

Updated console error message with more explanation when a code could not be exchanged due to missing codeVerifier.

v0.5.0

09 Sep 19:16
3cbc20d
Compare
Choose a tag to compare

Added context parameter to signIn()/signUp().

v0.4.1

30 Aug 22:46
32690df
Compare
Choose a tag to compare

fixes an issue where we repeatedly attempted to refresh the session after it had already ended.