Skip to content

Commit abd0047

Browse files
authored
Merge pull request #228332 from garrodonnell/godonnell-freshness-quickstart-spa
[B2C][Freshness] Quickstart: Set up sign in for a single-page app using Azure Active Directory B2C
2 parents 56fe42d + d71ae02 commit abd0047

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed
33.2 KB
Loading
45.1 KB
Loading
70.8 KB
Loading

articles/active-directory-b2c/quickstart-single-page-app.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ manager: CelesteDG
88
ms.service: active-directory
99
ms.workload: identity
1010
ms.topic: quickstart
11-
ms.date: 01/13/2022
11+
ms.date: 02/23/2023
1212
ms.author: godonnell
1313
ms.subservice: B2C
1414
ms.custom: mode-other
@@ -53,24 +53,24 @@ In this quickstart, you use a single-page application to sign in using a social
5353

5454
1. Browse to the URL of the application. For example, `http://localhost:6420`.
5555

56-
![Single-page application sample app shown in browser](./media/quickstart-single-page-app/sample-app-spa.png)
56+
:::image type="content" source="./media/quickstart-single-page-app/sample-app-spa.png" alt-text="Screenshot of single-page application sample app shown in browser window." lightbox="./media/quickstart-single-page-app/sample-app-spa.png":::
5757

5858
## Sign in using your account
5959

6060
1. Select **Sign In** to start the user journey.
6161
1. Azure AD B2C presents a sign-in page for a fictitious company called "Fabrikam" for the sample web application. To sign up using a social identity provider, select the button of the identity provider you want to use.
6262

63-
![Sign In or Sign Up page showing identity provider buttons](./media/quickstart-single-page-app/sign-in-or-sign-up-spa.png)
63+
:::image type="content" source="./media/quickstart-single-page-app/sign-in-or-sign-up-spa.png" alt-text="Screenshot of Sign In or Sign Up page showing identity provider buttons" lightbox="./media/quickstart-single-page-app/sign-in-or-sign-up-spa.png":::
6464

65-
You authenticate (sign in) using your social account credentials and authorize the application to read information from your social account. By granting access, the application can retrieve profile information from the social account such as your name and city.
65+
You authenticate (sign in) using your social account credentials and authorize the application to read information from your social account. By granting access, the application can retrieve profile information from the social account such as your name and city.
6666

6767
1. Finish the sign-in process for the identity provider.
6868

6969
## Access a protected API resource
7070

7171
Select **Call API** to have your display name returned from the web API as a JSON object.
7272

73-
![Sample application in browser showing the web API response](./media/quickstart-single-page-app/call-api-spa.png)
73+
:::image type="content" source="./media/quickstart-single-page-app/call-api-spa.png" alt-text="Screenshot of web API response showing in sample application in browser window." lightbox="./media/quickstart-single-page-app/sample-app-spa.png":::
7474

7575
The sample single-page application includes an access token in the request to the protected web API resource.
7676

0 commit comments

Comments
 (0)