Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/onpaws/auth0-react-spa
Minimal React app with Auth0
https://github.com/onpaws/auth0-react-spa
auth0 react
Last synced: 24 days ago
JSON representation
Minimal React app with Auth0
- Host: GitHub
- URL: https://github.com/onpaws/auth0-react-spa
- Owner: onpaws
- Created: 2019-04-26T02:31:52.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-06T01:49:04.000Z (almost 2 years ago)
- Last Synced: 2023-03-12T06:34:27.721Z (over 1 year ago)
- Topics: auth0, react
- Language: TypeScript
- Homepage: https://auth0-react-spa.surge.sh/
- Size: 2.1 MB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 20
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Minimal TypeScript React app trying to use Auth0
I noticed Auth0 has published a module that seems intended for SPAs to work with Auth0 logon services.
~~I'm not sure why but right now this module seems to require 3rd party cookies to be enabled.~~
~~TODO: Find out if [refresh token rotation](https://auth0.com/blog/securing-single-page-applications-with-refresh-token-rotation/) will help with this?~~
Answer: localStorage is needed to resolve this limitation. [More info](https://community.auth0.com/t/trying-the-new-refresh-token-rotation-in-a-react-spa-are-3rd-party-cookies-supposed-to-be-required/41151/4)
### User creds
```
Username: [email protected]
Password: Password1
```