question

GaurangPatel-2304 avatar image
0 Votes"
GaurangPatel-2304 asked GaurangPatel-2304 answered

Azure B2C domain_hint multiple claims providers not working

I have configured a custom policy with three different claims providers and each of them have set "Domain" property to indicate domain_hint. However, domain_hint only works for the first two claims providers.

For example: Claims providers configured as below

<ClaimsProviders>
<ClaimsProvider>
<Domain>RossTeam</Domain>
.....................
</ClaimsProvider>
<ClaimsProvider>
<Domain>RLBUK</Domain>
.....................
</ClaimsProvider>
<ClaimsProvider>
<Domain>RLBNZ</Domain>
.....................
</ClaimsProvider>
</ClaimsProviders>

In the above configuration domain_hint works for both RossTeam and RLBUK, but not working for RLBNZ.

However, if I switch the order of claims provider RLBUK and RLBNZ then it is not working for RLBUK. Looks like it is always not working for last claim provider in the claim providers list.


14859-image.png


azure-ad-b2cazure-ad-tenant
image.png (148.0 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

GaurangPatel-2304 avatar image
0 Votes"
GaurangPatel-2304 answered

Further information. I managed to resolve this issue by updating <DisplayName> for all three policy to have some unique description. Previously both RLBUK and RLBNZ policy has "Login with your work account" set for <DisplayName>.

Maybe each ClaimsProvider need unique display name as well along with unique domain name.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.