The AuthKit React SDK provides React hooks and components for integrating AuthKit authentication into React applications.
Refer to the AuthKit documentation for detailed usage instructions and examples.
-beta.* suffix, for example,
3.2.0-beta.1. For more information on how to use beta
versions, refer to the README in the GitHub repository.
Full Changelog: v0.13.0...v0.14.0
Full Changelog: v0.12.0...v0.13.0
Full Changelog: v0.11.0...v0.12.0
feature_flags claim by @kkajla12 in #65Full Changelog: v0.10.0...v0.11.0
context option on getAuthorizationUrl and signIn by @nholden in #83getAccessToken method by @nicknisi in #85Full Changelog: v0.9.1...v0.10.0
Full Changelog: v0.9.0...v0.9.1
@workos-inc/authkit-js to 0.9.0, exposing new returnTo parameter for signOut helper (https://github.com/workos/authkit-react/pull/46" rel="noreferrer" target="_blank">#46)Full Changelog: v0.8.1...v0.9.0
onRefreshFailed and onRefresh callbacks are available on AuthKitProvider (#35)Updates authkit-js to 0.7.1
switchToOrganization (https://github.com/workos/authkit-react/pull/31)@workos-inc/authkit-js to the latest version which contains under-the-hood improvements for more robust session refreshing. (https://github.com/workos/authkit-react/pull/29" rel="noreferrer" target="_blank">#29)useAuth()Upgrades authkit-js to 0.5.0 (Adds the context parameter to signIn/signUp)
Bumps @workos-inc/authkit-js to 0.4.1
getClaims function from authkit-js to decode access tokensBumps @workos-inc/authkit-js to v0.2.2 (which fixes a refresh bug).
AuthKitProvider only when data meaningfully changes (previously this was happening on every refresh)Bumps @workos-inc/authkit-js to v0.2.0.
useAuth() also returns organizationId, role, and permissions.user (from useAuth()) is now updated as new refresh tokens are received@workos-inc/authkit-js v0.1.0