You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug OAuthService.silentRefreshPostMessageEventListener executes tryLogin() inadvertently in the main frame.
If you have sessionChecksEnabled = true or if you have browser extensions like Angular DevTools doing window.postMessage() the tryLogin call is done with customHashFragment: undefined
In most of the cases tryLogin() is ignored, but if for any reason you have in the current url query parameters used in the tryLogin like state or code things start to mess up.
Expected behavior
Filter messages not intended for the silentRefreshPostMessageEventListener before executing tryLogin
The text was updated successfully, but these errors were encountered:
Describe the bug
OAuthService.silentRefreshPostMessageEventListener
executestryLogin()
inadvertently in the main frame.If you have
sessionChecksEnabled = true
or if you have browser extensions like Angular DevTools doingwindow.postMessage()
thetryLogin
call is done withcustomHashFragment: undefined
In most of the cases
tryLogin()
is ignored, but if for any reason you have in the current url query parameters used in the tryLogin likestate
orcode
things start to mess up.Expected behavior
Filter messages not intended for the
silentRefreshPostMessageEventListener
before executingtryLogin
The text was updated successfully, but these errors were encountered: