We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8fb35a9 commit d099e46Copy full SHA for d099e46
admin-api-frontend/src/index.js
@@ -14,7 +14,7 @@ import 'bootstrap/dist/css/bootstrap.min.css';
14
*/
15
const msalInstance = new PublicClientApplication(msalConfig);
16
17
-msalInstance.addEventCallback((event) => { if (event.eventType === EventType.SSO_SILENT_FAILURE && event.error?.errorCode === 'monitor_window_timeout') { instance.acquireTokenRedirect({ ...loginRequest, }); } });
+msalInstance.addEventCallback((event) => { if (event.eventType === EventType.SSO_SILENT_FAILURE && event.error?.errorCode === 'monitor_window_timeout') { msalInstance.acquireTokenRedirect({ ...loginRequest, }); } });
18
19
// Default to using the first account if no account is active on page load
20
if (!msalInstance.getActiveAccount() && msalInstance.getAllAccounts().length > 0) {
0 commit comments