To use the newly created user flow, we need to modify the demo application code.
Modify the TaskWebApp project, as follows:
- Open the web.config file from TaskWebApp.
- Find the following keys and replace them:
- ida:Tenant, with your tenant name, yourdomainb2c.onmicrosoft.com
- ida:ClientId, with the app ID from the notepad
- ida:ClientSecret, with your key from the notepad
- ida:SignUpSignInPolicyId, with b2c_1_SiUpIn
- Comment out the following entries:
<!--<add key="api:TaskServiceUrl" value="https://aadb2cplayground.azurewebsites.net/" />-->
- Uncomment the following entries:
<add key="api:TaskServiceUrl" value="https://localhost:44332/"/>
- Change the api:ApiIdentifier key value to the app ID URI of the API: ...