File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33b2c_tenant = "fabrikamb2c"
44signupsignin_user_flow = "B2C_1_signupsignin1"
55editprofile_user_flow = "B2C_1_profileediting1"
6- resetpassword_user_flow = "B2C_1_passwordreset1"
6+
7+ resetpassword_user_flow = "B2C_1_passwordreset1" # Note: Legacy setting.
8+ # If you are using the new
9+ # "Recommended user flow" (https://docs.microsoft.com/en-us/azure/active-directory-b2c/user-flow-versions),
10+ # you can remove the resetpassword_user_flow and the B2C_RESET_PASSWORD_AUTHORITY settings from this file.
11+
712authority_template = "https://{tenant}.b2clogin.com/{tenant}.onmicrosoft.com/{user_flow}"
813
914CLIENT_ID = "Enter_the_Application_Id_here" # Application (client) ID of app registration
2025 tenant = b2c_tenant , user_flow = signupsignin_user_flow )
2126B2C_PROFILE_AUTHORITY = authority_template .format (
2227 tenant = b2c_tenant , user_flow = editprofile_user_flow )
28+
2329B2C_RESET_PASSWORD_AUTHORITY = authority_template .format (
2430 tenant = b2c_tenant , user_flow = resetpassword_user_flow )
31+ # If you are using the new
32+ # "Recommended user flow" (https://docs.microsoft.com/en-us/azure/active-directory-b2c/user-flow-versions),
33+ # you can remove the resetpassword_user_flow and the B2C_RESET_PASSWORD_AUTHORITY settings from this file.
2534
2635REDIRECT_PATH = "/getAToken" # Used for forming an absolute URL to your redirect URI.
2736 # The absolute URL must match the redirect URI you set
You can’t perform that action at this time.
0 commit comments