Skip to content

Releases: crossid/crossid-react

v0.2.5

23 Feb 13:15

Choose a tag to compare

All Changes

Major Changes

  • upgrade @crossid/crossid-spa-js to v0.4.4

support for region and signupWithRedirect

24 May 14:11

Choose a tag to compare

All Changes

Major Changes

  • Support for crossid tenant's region configuration.
  • signupWithRedirect() method
  • upgrade @crossid/crossid-spa-js to v0.4.3

Support for React 17 and 18

10 May 15:13

Choose a tag to compare

All Changes

Minor Changes

  • Support for React 17 and 18.

Upgrade crossid-spa-js dependency to 0.4.1

27 Dec 11:22

Choose a tag to compare

All Changes

Major Changes

  • Upgrade crossid-spa-js dependency to 0.4.1.

Introspect access token locally.

13 Sep 18:09

Choose a tag to compare

All Changes

Major Changes

  • Introspect access token locally.

Combines two hooks into a single useAuth.

08 Sep 16:46

Choose a tag to compare

All Changes

Major Changes

  • Combines two hooks into a single useAuth.
  • Breaking changes in APIs.

Support for `state_type` opt

04 Aug 16:48

Choose a tag to compare

0.1.1

All Changes

Minor Changes

  • support for the state_type option.

Logout via redirect

23 Jul 16:49

Choose a tag to compare

0.1.0

All Changes

Major Changes

  • logout via redirect.

withRequired high order component

17 Jul 22:21

Choose a tag to compare

0.0.2

All Changes

Major Changes

  • withRequired high order component to protect components from being rendered if user is not authenticated.

Initial release - a provider and a hook for manage auth lifecycle in React.

17 Jul 11:37

Choose a tag to compare

0.0.1

All Changes

Major Changes

  • A React provider as a wrapper around crossid-spa-client and initializes a client automatically.
  • Provider maintains a state for the authenticated user and client.
  • Provider handles redirect callback by invoking client handleRedirectCallback automatically.
  • Delegate getAccessToken from provider.
  • Delegate loginWithRedirect so app can start the login (e.g., within a protected route if user is not authenticated).