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
Copy file name to clipboardExpand all lines: 1-Authentication/1-sign-in/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -125,7 +125,7 @@ As a first step you'll need to:
125
125
1. In the **Register an application page** that appears, enter your application's registration information:
126
126
- In the **Name** section, enter a meaningful application name that will be displayed to users of the app, for example `WebApp`.
127
127
- Under **Supported account types**, select **Accounts in this organizational directory only**.
128
-
- In the **Redirect URI (optional)** section, select **Web** in the combo-box and enter the following redirect URI: `https://localhost:4000/redirect`.
128
+
- In the **Redirect URI (optional)** section, select **Web** in the combo-box and enter the following redirect URI: `http://localhost:4000/redirect`.
129
129
1. Select **Register** to create the application.
130
130
1. In the app's registration screen, find and note the **Application (client) ID**. You use this value in your app's configuration file(s) later in your code.
Copy file name to clipboardExpand all lines: 1-Authentication/2-sign-in-b2c/README.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -102,7 +102,7 @@ Please refer to: [Tutorial: Add identity providers to your applications in Azure
102
102
1. In the **Register an application page** that appears, enter your application's registration information:
103
103
- In the **Name** section, enter a meaningful application name that will be displayed to users of the app, for example `WebAppB2C`.
104
104
- Under **Supported account types**, select **Accounts in any organizational directory and personal Microsoft accounts (e.g. Skype, Xbox, Outlook.com)**.
105
-
- In the **Redirect URI (optional)** section, select **Web** in the combo-box and enter the following redirect URI: `https://localhost:4000/redirect`.
105
+
- In the **Redirect URI (optional)** section, select **Web** in the combo-box and enter the following redirect URI: `http://localhost:4000/redirect`.
106
106
1. Select **Register** to create the application.
107
107
1. In the app's registration screen, find and note the **Application (client) ID**. You use this value in your app's configuration file(s) later in your code.
108
108
1. Select **Save** to save your changes.
@@ -120,15 +120,15 @@ Open the project in your IDE (like Visual Studio or Visual Studio Code) to confi
120
120
> In the steps below, "ClientID" is the same as "Application ID" or "AppId".
121
121
122
122
1. Open the `auth.json` file.
123
-
1. Find the key `ClientId` and replace the existing value with the application ID (clientId) of the `WebAppB2C`application copied from the Azure portal.
124
-
1. Find the key `TenantId` and replace the existing value with your Azure AD tenant ID.
125
-
1. Find the key `ClientSecret` and replace the existing value with the key you saved during the creation of the `WebAppB2C` app, in the Azure portal.
123
+
1. Find the key `ClientId` and replace the existing value with the application ID (clientId) of the application copied from the **Azure Portal**.
124
+
1. Find the key `TenantId` and replace the existing value with your Azure AD tenant ID copied from the **Azure Portal**.
125
+
1. Find the key `ClientSecret` and replace the existing value with the key you saved during the creation of the application, on the **Azure Portal**.
126
126
1. Find the key `homePageRoute` and replace the existing value with the home page route of your application, e.g. `/home`.
127
127
1. Find the key `redirectUri` and replace the existing value with the redirect URI that you have registered on **Azure Portal**, e.g. `http://localhost:4000/redirect`.
128
128
1. Find the key `postLogoutRedirectUri` and replace the existing value with the URI of the page that you wish to be redirected after signing-out, e.g `http://localhost:4000/`.
129
-
1. Find the key `policies.names` and replace it with the names (IDs) of your policies/user-flows e.g. `b2c_1_susi`.
130
-
1. Find the key `policies.authorities` abd replace it with the authority strings of your policies/user-flows e.g. `https://fabrikamb2c.b2clogin.com/fabrikamb2c.onmicrosoft.com/b2c_1_susi`.
131
-
1. Find the key `policies.authorityDomain` abd replace it with the domain of your authority e.g. `fabrikamb2c.b2clogin.com`.
129
+
1. Find the key `policies.names` and replace it with the names (IDs) of your policies/user-flows, e.g. `b2c_1_susi`.
130
+
1. Find the key `policies.authorities` abd replace it with the authority strings of your policies/user-flows, e.g. `https://fabrikamb2c.b2clogin.com/fabrikamb2c.onmicrosoft.com/b2c_1_susi`.
131
+
1. Find the key `policies.authorityDomain` abd replace it with the domain of your authority, e.g. `fabrikamb2c.b2clogin.com`.
132
132
133
133
## Running the sample
134
134
@@ -157,10 +157,10 @@ Were we successful in addressing your learning objective? Consider taking a mome
0 commit comments