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

Commit 7dfca3c

Browse files
authored
Merge pull request #290 from Azure-Samples/fix-b2c-redirect
fix redirect uri issue in b2c samples
2 parents 8ca0fb0 + f6d1290 commit 7dfca3c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

1-Authentication/2-sign-in-b2c/SPA/src/authConfig.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export const b2cPolicies = {
3737
*/
3838
export const msalConfig = {
3939
auth: {
40-
clientId: '2fdd06f3-7b34-49a3-a78b-0cf1dd87878e', // This is the ONLY mandatory field that you need to supply.
40+
clientId: '09dd92cf-78ba-4c25-94b2-ec3f3ef84352', // This is the ONLY mandatory field that you need to supply.
4141
authority: b2cPolicies.authorities.signUpSignIn.authority, // Choose SUSI as your default authority.
4242
knownAuthorities: [b2cPolicies.authorityDomain], // Mark your B2C tenant's domain as trusted.
4343
redirectUri: '/', // You must register this URI on Azure Portal/App Registration. Defaults to window.location.origin

3-Authorization-II/2-call-api-b2c/SPA/src/authConfig.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export const b2cPolicies = {
3838
*/
3939
export const msalConfig = {
4040
auth: {
41-
clientId: '2fdd06f3-7b34-49a3-a78b-0cf1dd87878e', // This is the ONLY mandatory field that you need to supply.
41+
clientId: '09dd92cf-78ba-4c25-94b2-ec3f3ef84352', // This is the ONLY mandatory field that you need to supply.
4242
authority: b2cPolicies.authorities.signUpSignIn.authority, // Choose SUSI as your default authority.
4343
knownAuthorities: [b2cPolicies.authorityDomain], // Mark your B2C tenant's domain as trusted.
4444
redirectUri: '/', // You must register this URI on Azure Portal/App Registration. Defaults to window.location.origin

0 commit comments

Comments
 (0)