This repository has been archived by the owner on Jun 23, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 31
Fix intitial user state. #31
Closed
scottandrew
wants to merge
17
commits into
sandrinodimattia:master
from
Keenwawa:hotfix/fix_initial_user_state
Closed
Fix intitial user state. #31
scottandrew
wants to merge
17
commits into
sandrinodimattia:master
from
Keenwawa:hotfix/fix_initial_user_state
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…nge the window history
Bumps [acorn](https://github.com/acornjs/acorn) from 6.3.0 to 6.4.1. - [Release notes](https://github.com/acornjs/acorn/releases) - [Commits](acornjs/acorn@6.3.0...6.4.1) Signed-off-by: dependabot[bot] <[email protected]>
Bumps [next](https://github.com/zeit/next.js) from 9.0.7 to 9.3.2. - [Release notes](https://github.com/zeit/next.js/releases) - [Commits](vercel/next.js@v9.0.7...v9.3.2) Signed-off-by: dependabot[bot] <[email protected]>
Bumps [acorn](https://github.com/acornjs/acorn) from 5.7.3 to 5.7.4. - [Release notes](https://github.com/acornjs/acorn/releases) - [Commits](acornjs/acorn@5.7.3...5.7.4) Signed-off-by: dependabot[bot] <[email protected]>
Before the change, the hook exposed acessToken only. But by using auth0-spa-js, we're getting also the idToken, which is needed for cases we use Auth0 as an authorisation service that defines the rules for accessing data in our server / database. This change allows externalizing other parameters in Auth0's response, such as idToken and the expiration of the token.
Export Auth0Context
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This fixes the setting of the initial user state. The should fix the isLoading state never going to false. This was tested locally and seemed to fix the issues we have after you log off.