I have the same question, please replay if someone know how to do it.
Multiple Policies Azure B2C Config in Blazor
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?
3 answers
Sort by: Most helpful
-
-
Jitendra Rai 231 Reputation points
2021-03-16T12:27:56.4+00:00 Could you please follow this sample mentioned Blazor Wasm - https://github.com/Azure-Samples/ms-identity-blazor-wasm/tree/main/Deploy-to-Azure
and
https://github.com/Azure-Samples/ms-identity-blazor-wasm/tree/main/WebApp-OIDC/B2C/blazorwasm-B2CPlease let us know if you need more information.
-
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.