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

fix(auth): prevent infinite loop if handshake token is not found in url #1524

Merged
merged 20 commits into from
Nov 26, 2021

Conversation

samisayegh
Copy link
Contributor

@samisayegh samisayegh commented Nov 25, 2021

An infinite loop might start if there is ever an issue reading the hash parameters, or if the search api is unavailable.

The client now uses a flag in localstorage to try to detect this and exit early.
If access to localstorage is denied by the browser, an infinite loop can still occur.

@github-actions
Copy link

Thanks for your contribution @samisayegh !
When your pull-request is ready to be merged, check the box below to merge it

  • Merge! :shipit:

@samisayegh samisayegh merged commit bc2bf9c into master Nov 26, 2021
@samisayegh samisayegh deleted the KIT-1239-e branch November 26, 2021 17:03
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

Successfully merging this pull request may close these issues.

4 participants