File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77 const AUTH_RESPONSE_KEY = "openidconnect_auth_response_info" ;
88
99 window . onload = function ( ) {
10- if ( window . opener && window . opener !== window ) { //Used when working as a popup. Uses post message to respond to the parent window
10+ if ( window . opener && window . opener !== window ) { //Used when working as a popup. Uses post message to respond to the parent window
1111 var parent = window . opener ?? window . parent ;
1212 parent . postMessage ( location . href , "*" ) ;
13- } else { //Used for redirect loop functionality.
14- //Get the original page destination
13+ } else { //Used for redirect loop functionality.
14+ //Get the original page destination
1515 const destination = sessionStorage . getItem ( AUTH_DESTINATION_KEY || "/" ) ;
1616 sessionStorage . removeItem ( AUTH_DESTINATION_KEY ) ;
1717 //Store the current window location that will be used to get the information for authentication
2727< body >
2828</ body >
2929
30- </ html >
30+ </ html >
You can’t perform that action at this time.
0 commit comments