Multiple Policies Azure B2C Config in Blazor

Serge Nalishiwa 31 Reputation points
2021-03-07T21:11:12.577+00:00

The docs talk about a single authority config. I was wondering how one could configure multiple policies in appsettings.json

Something like this:

"Authority": "{AAD B2C INSTANCE}{DOMAIN}/{SIGN UP OR SIGN IN POLICY}",
"Authority": "{AAD B2C INSTANCE}{DOMAIN}/{RESET POLICY}",
"Authority": "{AAD B2C INSTANCE}{DOMAIN}/{EDIT POLICY}",

How is this done correctly?

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,494 questions
Microsoft Entra External ID
Microsoft Entra External ID
A modern identity solution for securing access to customer, citizen and partner-facing apps and services. It is the converged platform of Azure AD External Identities B2B and B2C. Replaces Azure Active Directory External Identities.
2,759 questions
{count} votes

3 answers

Sort by: Most helpful
  1. Hashm Hashm 6 Reputation points
    2021-10-24T15:50:37.017+00:00

    I have the same question, please replay if someone know how to do it.

    1 person found this answer helpful.
    0 comments No comments

  2. Jitendra Rai 231 Reputation points
    2021-03-16T12:27:56.4+00:00

  3. Damiano Andresini 171 Reputation points
    2022-05-15T08:22:06.547+00:00

    I have the same question please reply me. I use Blazor Wasm hosted to call api that call msgraph and for my opinion multiple Policies Azure B2C Config in Blazor can solved many problems because if I change the properties with graph api and these are in token there is not a method to resfresh the token.

    0 comments No comments