Managing external identities to enable secure access for partners, customers, and other non-employees
Hi @Zachar Kapustin • Thank you for reaching out.
You should keep the edit user, sign in, sign up, reset password policies separate. Even when you keep the policies separate, the Identity Provider will remain the same as the token will be issued by the same issuer. You can configure different claims to be returned in the token issued by each of these user flows but the issuer of the token will remain same. You might also want to return different claims for your application workflows, e.g. you want to return NewUser claim in the token after signup/signin policy but you don't want to return that claim after password reset or profile editing user flow.
In your application code, you can specify all the flows as described below:
If you want to remove the reference of the policy name from the token, you can remove the ACR claim by configuring the JWTIssuer technical profile, as highlighted below:
Read more : Tutorial: Add Azure AD B2C authentication to an ASP.NET Core web app
-----------------------------------------------------------------------------------------------------------
Please "Accept the answer" if the information helped you. This will help us and others in the community as well.