Skip to content

Commit 67910cd

Browse files
committed
Fix tab group
1 parent 77efcff commit 67910cd

File tree

1 file changed

+14
-7
lines changed

1 file changed

+14
-7
lines changed

articles/active-directory/develop/scenario-spa-sign-in.md

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ The choice between a pop-up or redirect experience depends on your application f
4040

4141
## Sign-in with a pop-up window
4242

43-
# [JavaScript (MSAL.js 2.x)](#tab/javascript2)
43+
# [JavaScript (MSAL.js v2)](#tab/javascript2)
4444

4545
```javascript
4646

@@ -81,7 +81,7 @@ myMsal.loginPopup(loginRequest)
8181
});
8282
```
8383

84-
# [JavaScript (MSAL.js 1.x)](#tab/javascript1)
84+
# [JavaScript (MSAL.js v1)](#tab/javascript1)
8585

8686
```javascript
8787

@@ -230,7 +230,7 @@ function App() {
230230

231231
## Sign-in with redirect
232232

233-
# [JavaScript (MSAL.js 2.x)](#tab/javascript2)
233+
# [JavaScript (MSAL.js v2)](#tab/javascript2)
234234

235235
```javascript
236236

@@ -270,7 +270,7 @@ myMsal.handleRedirectPromise().then(handleResponse);
270270
myMsal.loginRedirect(loginRequest);
271271
```
272272

273-
# [JavaScript (MSAL.js 1.x)](#tab/javascript1)
273+
# [JavaScript (MSAL.js v1)](#tab/javascript1)
274274

275275
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.
276276

@@ -380,7 +380,7 @@ You can configure the URI to which Azure AD should redirect after sign-out by se
380380

381381
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.
382382

383-
# [JavaScript (MSAL.js 2.x)](#tab/javascript2)
383+
# [JavaScript (MSAL.js v2)](#tab/javascript2)
384384

385385
```javascript
386386
const config = {
@@ -401,6 +401,13 @@ const logoutRequest = {
401401

402402
await myMsal.logoutPopup(logoutRequest);
403403
```
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
404411

405412
# [React](#tab/react)
406413

@@ -448,7 +455,7 @@ MSAL.js provides a `logout` method in v1, and `logoutRedirect` method in v2, tha
448455

449456
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.
450457

451-
# [JavaScript (MSAL.js 2.x)](#tab/javascript2)
458+
# [JavaScript (MSAL.js v2)](#tab/javascript2)
452459

453460
```javascript
454461
const config = {
@@ -469,7 +476,7 @@ const logoutRequest = {
469476
myMsal.logoutRedirect(logoutRequest);
470477
```
471478

472-
# [JavaScript (MSAL.js 1.x)](#tab/javascript1)
479+
# [JavaScript (MSAL.js v1)](#tab/javascript1)
473480

474481
```javascript
475482
const config = {

0 commit comments

Comments
 (0)