Skip to content

Library to use auth0-spa-sdk in React Router loaders and actions

Notifications You must be signed in to change notification settings

oriolcastro/auth0js

 
 

Repository files navigation

Auth0 React Router library

A wrapper for auth0-spa-js to use in React Router data APIs

This library uses Zustand to store the auth state instead of the Context API used in the official auth0-react library. By having the state outside the React tree we allow you to have access to it in the loader/action functions of React Router.

About

Library to use auth0-spa-sdk in React Router loaders and actions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 84.2%
  • CSS 7.6%
  • JavaScript 6.9%
  • HTML 1.3%