You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ack, I can see the problem. To work around it you need to specify an authority when you create the PublicClientApplication. It doesn't matter the policy, as the policy specified in AcquireTokenInteractive will be taken into account.
Which Version of MSAL are you using ?
MSAL 4.7.1
Platform
net45, xamarin android, xamarin iOS
What authentication flow has the issue?
Any
Is this a new or existing app?
The app is in production, I haven't upgraded MSAL, but started seeing this issue
Repro
Expected behavior
As I added WithB2CAuthority I expect that in Authority.CreateAuthorityForRequest method new B2CAuthority class is instantiated.
Actual behavior
AadAuthority instance is created in Authority.CreateAuthorityForRequest call.
Possible Solution
It seems this behavior was introduced in #1456
Accordingly to comment in
microsoft-authentication-library-for-dotnet/src/client/Microsoft.Identity.Client/Instance/Authority.cs
Line 37 in faabb9c
The text was updated successfully, but these errors were encountered: