CalendarSync icon indicating copy to clipboard operation
CalendarSync copied to clipboard

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

Open alxndr13 opened this issue 1 year ago • 0 comments

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.

alxndr13 avatar Jun 12 '23 13:06 alxndr13