Skip to content

Add a windowRef option to initLoginFlowInPopup to prevent the window from beeing blocked by popup blockers #965

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

Merged
merged 20 commits into from
Jul 16, 2021

Conversation

sven-codeculture
Copy link
Contributor

We are running into the problem, that when a window.open is called inside a promise browsers like firefox seem to be not able anymore to detect the original click event. This causes the popup blocker to block the window opened for login.

A workaround would be opening the window and after this running the promise with the login popup, giving it the promise as a reference like done in this jsfiddle in another context: https://jsfiddle.net/mxwtjkuo/

Manuel Rauber and others added 20 commits July 3, 2020 15:07
Changes the link path to the ".html" page instead of ".md". In the path "https://manfredsteyer.github.io/angular-oauth2-oidc/docs/additional-documentation/silent-refresh.html" the "Token Refresh" link is not pointing to the html page.
fix: Disable nonce validation for id token for e2e tests
Changes the link path " Token Refresh"
Listen for storage to receive auth hash from popup
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.

6 participants