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
The redirect methods don't return a promise because of the move away from the main app. To process and access the returned tokens, register success and error callbacks before you call the redirect methods.
276
276
@@ -380,7 +380,7 @@ You can configure the URI to which Azure AD should redirect after sign-out by se
380
380
381
381
You can also configure `logoutPopup` to redirect the main window to a different page, such as the home page or sign-in page, after logout is complete by passing `mainWindowRedirectUri` as part of the request.
382
382
383
-
# [JavaScript (MSAL.js 2.x)](#tab/javascript2)
383
+
# [JavaScript (MSAL.js v2)](#tab/javascript2)
384
384
385
385
```javascript
386
386
constconfig= {
@@ -401,6 +401,13 @@ const logoutRequest = {
401
401
402
402
awaitmyMsal.logoutPopup(logoutRequest);
403
403
```
404
+
# [JavaScript (MSAL.js v1)](#tab/javascript1)
405
+
406
+
Signing out with a popup window is not supported in MSAL.js v1
407
+
408
+
# [Angular](#tab/angular)
409
+
410
+
Signing out with a popup window is not supported in MSAL Angular v1
404
411
405
412
# [React](#tab/react)
406
413
@@ -448,7 +455,7 @@ MSAL.js provides a `logout` method in v1, and `logoutRedirect` method in v2, tha
448
455
449
456
You can configure the URI to which it should redirect after sign-out by setting `postLogoutRedirectUri`. This URI should be registered as a redirect Uri in your application registration.
0 commit comments