https://github.com/danielres/auth0-parcel-problem-example
this repo demonstrates issue https://github.com/auth0/auth0-spa-js/issues/245
https://github.com/danielres/auth0-parcel-problem-example
Last synced: 11 months ago
JSON representation
this repo demonstrates issue https://github.com/auth0/auth0-spa-js/issues/245
- Host: GitHub
- URL: https://github.com/danielres/auth0-parcel-problem-example
- Owner: danielres
- License: mit
- Created: 2019-10-16T14:10:37.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-04T22:49:35.000Z (about 3 years ago)
- Last Synced: 2025-01-09T06:40:43.202Z (about 1 year ago)
- Language: JavaScript
- Size: 1.37 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
This demonstrates issue https://github.com/auth0/auth0-spa-js/issues/245
Usage:
1. Be sure to copy `auth_config.json.example` as `auth_config.json` and fill in the properties.
2. Run the example:
```
cd 02-Calling-an-API
yarn install
yarn dev
```
3. Be sure to login with Google
4. See the problem in the browser console:
```
Uncaught (in promise) Error: Invalid state
at t. (Auth0Client.ts:248)
at tslib.es6.js:99
at Object.next (tslib.es6.js:80)
at tslib.es6.js:73
at new Promise ()
at r (tslib.es6.js:69)
at t.handleRedirectCallback (Auth0Client.ts:233)
at initAuth0 (react-auth0-spa.js:27)
```
+ The spinner loads indefinitely