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

Close Auth Window Automatically after a defined amount of seconds / redirect to another page #27

Open
alxndr13 opened this issue Jun 12, 2023 · 0 comments

Comments

@alxndr13
Copy link
Contributor

maybe inovex.de or something else.

@MichaelEischer

It seems like automatically closing a browser window is a restricted operation in modern browsers: https://developer.mozilla.org/en-US/docs/Web/API/Window/close . window.close() does not work in tabs with a navigation history (which is the case here after the oauth flow has completed). Alternatively, windows opened by Javascript might be closeable, however, just calling window.open(...) gets blocked by the popup blocker.

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

1 participant