Skip to content
This repository was archived by the owner on May 17, 2024. It is now read-only.

Commit 0cf9409

Browse files
authored
Merge pull request #374 from Azure-Samples/remove-ids-use-placeholder
Remove IDs use placeholders
2 parents 91fec70 + a704357 commit 0cf9409

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

Diff for: 1-Authentication/2-sign-in-b2c/SPA/src/app/auth-config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export const b2cPolicies = {
4141
*/
4242
export const msalConfig: Configuration = {
4343
auth: {
44-
clientId: '9067c884-9fa6-414f-9aa4-a565b1cb46be', // This is the ONLY mandatory field that you need to supply.
44+
clientId: 'Enter_the_Application_Id_Here', // This is the ONLY mandatory field that you need to supply.
4545
authority: b2cPolicies.authorities.signUpSignIn.authority, // Defaults to "https://login.microsoftonline.com/common"
4646
knownAuthorities: [b2cPolicies.authorityDomain], // Mark your B2C tenant's domain as trusted.
4747
redirectUri: '/auth', // Points to window.location.origin by default. You must register this URI on Azure portal/App Registration.

Diff for: 3-Authorization-II/2-call-api-b2c/API/TodoListAPI/appsettings.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"AzureAdB2C": {
33
"Instance": "https://fabrikamb2c.b2clogin.com",
4-
"ClientId": "e29ac359-6a90-4f9e-b31c-8f64e1ac20cb",
4+
"ClientId": "Enter_the_Application_Id_Here",
55
"Domain": "fabrikamb2c.onmicrosoft.com",
66
"SignUpSignInPolicyId": "b2c_1_susi_v2",
77
"Scopes": {

Diff for: 3-Authorization-II/2-call-api-b2c/SPA/src/app/auth-config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export const b2cPolicies = {
4141
*/
4242
export const msalConfig: Configuration = {
4343
auth: {
44-
clientId: '9067c884-9fa6-414f-9aa4-a565b1cb46be', // This is the ONLY mandatory field that you need to supply.
44+
clientId: 'Enter_the_Application_Id_Here', // This is the ONLY mandatory field that you need to supply.
4545
authority: b2cPolicies.authorities.signUpSignIn.authority, // Defaults to "https://login.microsoftonline.com/common"
4646
knownAuthorities: [b2cPolicies.authorityDomain], // Mark your B2C tenant's domain as trusted.
4747
redirectUri: '/auth', // Points to window.location.origin by default. You must register this URI on Azure portal/App Registration.

Diff for: 6-AdvancedScenarios/1-call-api-obo/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ For a middle-tier web API (`ProfileAPI`) to be able to call a downstream web API
278278
For instance:
279279

280280
```json
281-
"knownClientApplications": ["ca8dca8d-f828-4f08-82f5-325e1a1c6428"],
281+
"knownClientApplications": ["Enter_the_Application_Id_Here"],
282282
```
283283

284284
1. **Save** the changes to the manifest.

Diff for: 6-AdvancedScenarios/2-call-api-mt/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ Open the project in your IDE (like Visual Studio or Visual Studio Code) to confi
274274
For instance:
275275

276276
```json
277-
"knownClientApplications": ["ca8dca8d-f828-4f08-82f5-325e1a1c6428"],
277+
"knownClientApplications": ["Enter_the_Application_Id_Here"],
278278
```
279279

280280
1. **Save** the changes to the manifest.

0 commit comments

Comments
 (0)