Skip to content
This repository has been archived by the owner on Jun 23, 2020. It is now read-only.

Fix intitial user state. #31

Conversation

scottandrew
Copy link

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.

sandrinodimattia and others added 17 commits October 26, 2019 01:24
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.
@scottandrew scottandrew closed this Jun 5, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants