react-oidc-context

Lightweight auth library based on oidc-client-ts for React single page applications (SPA). Support for hooks and higher-order components (HOC).

MIT License

Downloads
483.1K
Stars
679
Committers
21

Bot releases are hidden (Show)

react-oidc-context - v3.2.0

Published by pamapa 14 days ago

react-oidc-context 3.2.0 is a minor release.

No longer using crypto-js package, but built-in browser crypto.subtle module. Crypto.subtle is available only in secure contexts (HTTPS). Also have a look into the migration info.

Changelog:

  • Fixes:
    • #1256: void is not valid as a constituent in a union
  • Features:
    • #1377: pass signoutCallback reponse to onSignoutCallback
react-oidc-context - v2.4.0

Published by pamapa 14 days ago

react-oidc-context 2.4.0 is a minor release.

Changelog:

  • Fixes:
    • #1379: memoize context value in auth-provider
    • #1381: handle USER_SIGNED_OUT (session monitoring event) event the same like USER_UNLOADED
  • Features:
    • #1378: add sign-out callback support
    • #1380: add with authentication required
react-oidc-context - v3.1.1

Published by pamapa about 1 month ago

react-oidc-context 3.1.1 is a bugfix release.

No longer using crypto-js package, but built-in browser crypto.subtle module. Crypto.subtle is available only in secure contexts (HTTPS). Also have a look into the migration info.

Changelog:

  • Fixes:
    • #1357: memoize context value in auth-provider
    • #1225: improve README.md
react-oidc-context - v3.1.0 Latest Release

Published by pamapa 6 months ago

react-oidc-context 3.1.0 is a minor release.

No longer using crypto-js package, but built-in browser crypto.subtle module. Crypto.subtle is available only in secure contexts (HTTPS). Also have a look into the migration info.

Changelog:

  • Features:
    • #1119 add sign-out callback support
  • #1119 add SSR unit-test
  • #1119 update to required node 18.x in CI
  • #1121 avoid unit-test warnings about move function into act()
react-oidc-context - v3.0.0

Published by pamapa 9 months ago

react-oidc-context 3.0.0 is a major release.

No longer using crypto-js package, but built-in browser crypto.subtle module. Crypto.subtle is available only in secure contexts (HTTPS). Also have a look into the migration info.

Changelog:

  • Breaking changes:
    • #704: depend on oidc-client-ts v3.x (requires node >=18)
    • #527: drop deprecated code
  • Fixes
    • #528: AuthProviderUserManagerProps must not contain anything from UserManagerSettings
    • #1070: use npm distribution tags for upcoming releases
    • #1063: remove now useless useCallback on signoutSilent
    • #1051: fix typo in automatic sign-in section of README.md
    • #1087: handle USER_SIGNED_OUT (session monitoring event) event the same like USER_UNLOADED
  • Features:
    • #1060: add withAuthenticationRequired
    • #1061: insert yarn installation step inside README.md

thanks to @trollepierre, @DennerAC and @PSanetra

react-oidc-context - v3.0.0-rc.1

Published by pamapa 9 months ago

react-oidc-context 3.0.0-rc.1 is a major pre release.

No longer using crypto-js package, but built-in browser crypto/subtle module.

Changelog:

  • Fixes:
    • #1087: handle USER_SIGNED_OUT (session monitoring event) event the same like USER_UNLOADED

thanks to @PSanetra

react-oidc-context - v3.0.0-rc.0

Published by pamapa 10 months ago

react-oidc-context 3.0.0-rc.0 is a major pre release.

No longer using crypto-js package, but built-in browser crypto/subtle module.

Changelog:

  • Features:
    • #1060: add withAuthenticationRequired
    • #1061: Insert yarn installation step inside README.md
  • Fixes:
    • #1070: use npm distribution tags for upcoming releases
    • #1063: remove now useless useCallback on signoutSilent
    • #1051: fix typo in Automatic sign-in section of README.md

thanks to @trollepierre and @DennerAC

react-oidc-context - v3.0.0-beta.0

Published by pamapa 11 months ago

react-oidc-context 3.0.0-beta.0 is a major pre release.

No longer using crypto-js package, but built-in browser crypto/subtle module.

Changelog:

  • Breaking changes:
    • #704: depend on oidc-client-ts v3.x (requires node >=18)
    • #527: drop deprecated code
  • Fixes
    • #528: AuthProviderUserManagerProps must not contain anything from UserManagerSettings
react-oidc-context - v2.3.1

Published by pamapa about 1 year ago

react-oidc-context 2.3.1 is a bugfix release.

Changelog:

  • #932: add signinResourceOwnerCredentials
  • #936: generate esm package.json with version
  • #933: fix broken link for LICENSE in README.md
  • #900: fix some unit-test warning like "inside a test was not wrapped in act"

thanks to @mikoto2000 and @Gitarcitano

react-oidc-context - v2.3.0

Published by pamapa about 1 year ago

react-oidc-context 2.3.0 is a minor release.

Changelog:

  • #820: dispatch exceptions to state in AuthProvider
  • #789: await onSigninCallback, which potentially can return a promise
  • #859: useAuth should never throw
  • #804: improve protected API example section in README.md
  • #876: improve auto signin section in README.md

thanks to @pseidemann, @Zwyx, @ChrisL108 and @perguth

react-oidc-context - v2.2.2

Published by pamapa over 1 year ago

react-oidc-context 2.2.2 is a bugfix release.

Changelog:

  • #613: add signoutSilent support

thanks to @jgregory-apogee

react-oidc-context - v2.2.1

Published by pamapa over 1 year ago

react-oidc-context 2.2.1 is a bugfix release.

Changelog:

  • #620: add "types" path to exports
  • #598: fix error when user.state is set to undefined

thanks to @jrgermain, @bryht and @piwysocki

react-oidc-context - v2.2.0

Published by pamapa about 2 years ago

react-oidc-context 2.2.0 is a minor release.

Changelog:

  • #331: allow passing an UserManager instance and deprecate passing an UserManager interface
  • #464: fix example build error
react-oidc-context - v2.1.1

Published by pamapa over 2 years ago

react-oidc-context 2.1.1 is a bug fix release.

Changelog:

  • #401: ensure React.StrictMode is working
react-oidc-context - v2.1.0

Published by pamapa over 2 years ago

react-oidc-context 2.1.0 is a minor release.

Changelog:

  • #239: expose user manager events in api
react-oidc-context - v2.0.0

Published by pamapa over 2 years ago

react-oidc-context 2.0 is a major release with several new features.

Highlights

  • Adapted internal used library from oidc-client to oidc-client-ts
  • Added activeNavigator property
react-oidc-context - v2.0.0-rc.1

Published by pamapa almost 3 years ago

react-oidc-context - v2.0.0-beta.2

Published by pamapa almost 3 years ago

react-oidc-context - v2.0.0-beta.1

Published by pamapa almost 3 years ago

react-oidc-context - v1.1.0

Published by pamapa about 3 years ago

react-oidc-context 1.1 is a minor release with several new features.

Highlights

  • Added support for rendering AuthProvider server-side
  • Added support for passing a custom UserManager implementation