Skip to content

Instantly share code, notes, and snippets.

@manoj-choudhari-git
Created May 16, 2020 23:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save manoj-choudhari-git/7b9476ff7a857c62d9123807325590ef to your computer and use it in GitHub Desktop.
Save manoj-choudhari-git/7b9476ff7a857c62d9123807325590ef to your computer and use it in GitHub Desktop.
App-Config.ts for MFA protected Angular App
/***********************************************************
* STEP 1 - B2C Policies and User Flows
***********************************************************/
export const b2cPolicies = {
names: {
signUpSignIn: "B2C_1_SignUpSignInMFA",
resetPassword: "B2C_1_Reset",
},
authorities: {
signUpSignIn: {
authority: "https://samplead.b2clogin.com/samplead.onmicrosoft.com/B2C_1_SignUpSignInMFA"
},
resetPassword: {
authority: "https://samplead.b2clogin.com/samplead.onmicrosoft.com/b2c_1_reset"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment