diff --git a/1-Authentication/2-sign-in-b2c/SPA/src/app/auth-config.ts b/1-Authentication/2-sign-in-b2c/SPA/src/app/auth-config.ts index 5543e3e0..dfb0b593 100644 --- a/1-Authentication/2-sign-in-b2c/SPA/src/app/auth-config.ts +++ b/1-Authentication/2-sign-in-b2c/SPA/src/app/auth-config.ts @@ -41,7 +41,7 @@ export const b2cPolicies = { */ export const msalConfig: Configuration = { auth: { - clientId: '9067c884-9fa6-414f-9aa4-a565b1cb46be', // This is the ONLY mandatory field that you need to supply. + clientId: 'Enter_the_Application_Id_Here', // This is the ONLY mandatory field that you need to supply. authority: b2cPolicies.authorities.signUpSignIn.authority, // Defaults to "https://login.microsoftonline.com/common" knownAuthorities: [b2cPolicies.authorityDomain], // Mark your B2C tenant's domain as trusted. redirectUri: '/auth', // Points to window.location.origin by default. You must register this URI on Azure portal/App Registration. diff --git a/3-Authorization-II/2-call-api-b2c/API/TodoListAPI/appsettings.json b/3-Authorization-II/2-call-api-b2c/API/TodoListAPI/appsettings.json index 0b146bbf..9df23682 100644 --- a/3-Authorization-II/2-call-api-b2c/API/TodoListAPI/appsettings.json +++ b/3-Authorization-II/2-call-api-b2c/API/TodoListAPI/appsettings.json @@ -1,7 +1,7 @@ { "AzureAdB2C": { "Instance": "https://fabrikamb2c.b2clogin.com", - "ClientId": "e29ac359-6a90-4f9e-b31c-8f64e1ac20cb", + "ClientId": "Enter_the_Application_Id_Here", "Domain": "fabrikamb2c.onmicrosoft.com", "SignUpSignInPolicyId": "b2c_1_susi_v2", "Scopes": { diff --git a/3-Authorization-II/2-call-api-b2c/SPA/src/app/auth-config.ts b/3-Authorization-II/2-call-api-b2c/SPA/src/app/auth-config.ts index 6c1fcd15..ad33b69f 100644 --- a/3-Authorization-II/2-call-api-b2c/SPA/src/app/auth-config.ts +++ b/3-Authorization-II/2-call-api-b2c/SPA/src/app/auth-config.ts @@ -41,7 +41,7 @@ export const b2cPolicies = { */ export const msalConfig: Configuration = { auth: { - clientId: '9067c884-9fa6-414f-9aa4-a565b1cb46be', // This is the ONLY mandatory field that you need to supply. + clientId: 'Enter_the_Application_Id_Here', // This is the ONLY mandatory field that you need to supply. authority: b2cPolicies.authorities.signUpSignIn.authority, // Defaults to "https://login.microsoftonline.com/common" knownAuthorities: [b2cPolicies.authorityDomain], // Mark your B2C tenant's domain as trusted. redirectUri: '/auth', // Points to window.location.origin by default. You must register this URI on Azure portal/App Registration. diff --git a/6-AdvancedScenarios/1-call-api-obo/README.md b/6-AdvancedScenarios/1-call-api-obo/README.md index 03ae86c8..7cb1d0c0 100644 --- a/6-AdvancedScenarios/1-call-api-obo/README.md +++ b/6-AdvancedScenarios/1-call-api-obo/README.md @@ -278,7 +278,7 @@ For a middle-tier web API (`ProfileAPI`) to be able to call a downstream web API For instance: ```json - "knownClientApplications": ["ca8dca8d-f828-4f08-82f5-325e1a1c6428"], + "knownClientApplications": ["Enter_the_Application_Id_Here"], ``` 1. **Save** the changes to the manifest. diff --git a/6-AdvancedScenarios/2-call-api-mt/README.md b/6-AdvancedScenarios/2-call-api-mt/README.md index 1e0e9178..5162725c 100644 --- a/6-AdvancedScenarios/2-call-api-mt/README.md +++ b/6-AdvancedScenarios/2-call-api-mt/README.md @@ -274,7 +274,7 @@ Open the project in your IDE (like Visual Studio or Visual Studio Code) to confi For instance: ```json - "knownClientApplications": ["ca8dca8d-f828-4f08-82f5-325e1a1c6428"], + "knownClientApplications": ["Enter_the_Application_Id_Here"], ``` 1. **Save** the changes to the manifest.