File tree Expand file tree Collapse file tree
OpenApi/OpenApi.Bff/wwwroot
TokenExchange/TokenExchange.Bff/wwwroot Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11const loginUrl = "/bff/login" ;
2- const silentLoginUrl = "/bff/silent- login" ;
2+ const silentLoginUrl = "/bff/login?prompt=none " ;
33const userUrl = "/bff/user" ;
44const localApiUrl = "/local" ;
55const remoteApiUrl = "/api" ;
@@ -224,7 +224,7 @@ function silentLogin(iframeSelector) {
224224 // we can either just treat this like a "not logged in"
225225 resolve ( false ) ;
226226 // or we can trigger an error, so someone can look into the reason why
227- // reject(new Error("timed_out"));
227+ // reject(new Error("timed_out"));
228228 } , timeout ) ;
229229
230230 // send the iframe to the silent login endpoint to kick off the workflow
Original file line number Diff line number Diff line change 11const loginUrl = "/bff/login" ;
2- const silentLoginUrl = "/bff/silent- login" ;
2+ const silentLoginUrl = "/bff/login?prompt=none " ;
33const userUrl = "/bff/user" ;
44const apiUrl = "/api1/weatherforecastFahrenheit" ;
55let logoutUrl = "/bff/logout" ;
@@ -148,7 +148,7 @@ function silentLogin(iframeSelector) {
148148 // we can either just treat this like a "not logged in"
149149 resolve ( false ) ;
150150 // or we can trigger an error, so someone can look into the reason why
151- // reject(new Error("timed_out"));
151+ // reject(new Error("timed_out"));
152152 } , timeout ) ;
153153
154154 // send the iframe to the silent login endpoint to kick off the workflow
Original file line number Diff line number Diff line change 11const loginUrl = "/bff/login" ;
2- const silentLoginUrl = "/bff/silent- login" ;
2+ const silentLoginUrl = "/bff/login?prompt=none " ;
33const userUrl = "/bff/user" ;
44const localApiUrl = "/local" ;
55const remoteApiUrl = "/api" ;
@@ -165,7 +165,7 @@ function silentLogin(iframeSelector) {
165165 // we can either just treat this like a "not logged in"
166166 resolve ( false ) ;
167167 // or we can trigger an error, so someone can look into the reason why
168- // reject(new Error("timed_out"));
168+ // reject(new Error("timed_out"));
169169 } , timeout ) ;
170170
171171 // send the iframe to the silent login endpoint to kick off the workflow
You can’t perform that action at this time.
0 commit comments