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

Cannot log in when {useHash: true} is used in RouterModule.forRoot() with Angular 2 #806

Closed
stefanruijsenaars opened this issue Jan 13, 2017 · 2 comments

Comments

@stefanruijsenaars
Copy link

This is likely a JWT issue, but crossposting to this issue queue in case others run into this issue (see auth0/angular2-jwt#211)

@luisrudge
Copy link
Contributor

luisrudge commented Jan 13, 2017

Hi @stefanruijsenaars - the problem is that angular-router clears the hash (angular/angular#6595) you're receiving from Auth0. We added the possibility to prevent Lock from parsing the hash when it is instantiated and resuming the authentication workflow in #790. However, this was not released yet. There's a workaround you can use in the meantime: auth0-samples/auth0-angularjs2-systemjs-sample#40 (comment).

With that being said, next version is scheduled to be released in the next week and we'll have angular examples you can follow.
Thanks!

@glena glena closed this as completed Jan 13, 2017
@stefanruijsenaars
Copy link
Author

stefanruijsenaars commented Jan 13, 2017 via email

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

3 participants