Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Storing auth token in state and route guards? #1

Open
BrianVallelunga opened this issue Mar 16, 2020 · 0 comments
Open

Storing auth token in state and route guards? #1

BrianVallelunga opened this issue Mar 16, 2020 · 0 comments

Comments

@BrianVallelunga
Copy link

BrianVallelunga commented Mar 16, 2020

I'm trying, without success to make this work in my app that also uses a route guard. Any chance you could update this with the route guard to show how that would work? I'm also trying to store the token in the global state so I can pass it along.

The combination of the effects, the service, and the route guard make for an asynchronous mess where Angular won't wait to handle the successful callback before redirecting to the hosted login page again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant