Skip to content

Latest commit

 

History

History
85 lines (46 loc) · 2.05 KB

CHANGELOG.md

File metadata and controls

85 lines (46 loc) · 2.05 KB

0.2.5

All Changes

Major Changes

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

0.2.4

All Changes

Major Changes

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

0.2.3

All Changes

Minor Changes

  • support for React 17 and 18.

0.2.2

All Changes

Major Changes

  • Upgrade crossid-spa-js dependency to 0.4.1.

0.2.1

All Changes

Major Changes

  • Introspect access token locally.

0.2.0

All Changes

Major Changes

  • Combines two hooks into a single useAuth.

0.1.1

All Changes

Minor Changes

  • support for the state_type option.

0.1.0

All Changes

Major Changes

  • logout via redirect.

0.0.2

All Changes

Major Changes

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

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).