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

Not working with HashLocationStrategy #2

Open
ngdevnilesh opened this issue Jun 22, 2022 · 1 comment
Open

Not working with HashLocationStrategy #2

ngdevnilesh opened this issue Jun 22, 2022 · 1 comment

Comments

@ngdevnilesh
Copy link

When we try to implement this example with HashLocationStrategy in angular. {provide: LocationStrategy,useClass: HashLocationStrategy}. It is not redirecting to login page even after successful login. Is there any other example which will work with HashLocationStrategy

@alisaduncan
Copy link
Collaborator

Thanks for pointing this out. The OAuth 2.0 spec does not support hashes, so instead of updating this sample, I'll create a work task to add a future post about handling HashLocationStrategy.

In the meantime, here are instructions on how to go about supporting hashes per the documentation from Okta's AuthJS lib.

I'll mark this issue as closed once the post is added.

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

2 participants