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

Check window object only if it is options.hash is not set #1209

Merged
merged 1 commit into from
Sep 17, 2021
Merged

Check window object only if it is options.hash is not set #1209

merged 1 commit into from
Sep 17, 2021

Conversation

FDiskas
Copy link
Contributor

@FDiskas FDiskas commented Sep 14, 2021

check window object only if it is options.hash is not set.

Changes

If I try to access auth instance method parseHash within node env - it will throw error. So by doing that - window object will be requested as a fallback if no option is provided.

Thank you

check window object only if it is options.hash is not set.
@FDiskas FDiskas requested a review from a team as a code owner September 14, 2021 21:38
@stevehobbsdev
Copy link
Contributor

Thanks for the contribution!

@stevehobbsdev stevehobbsdev merged commit c73dc70 into auth0:master Sep 17, 2021
@FDiskas FDiskas deleted the patch-1 branch September 17, 2021 12:55
@stevehobbsdev stevehobbsdev changed the title Update index.js Check window object only if it is options.hash is not set Oct 15, 2021
@stevehobbsdev stevehobbsdev mentioned this pull request Oct 15, 2021
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.

2 participants