-
Notifications
You must be signed in to change notification settings - Fork 331
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No way to avoid IDP selection prompt when invoking "edit profile" policy in B2C? #588
Labels
Milestone
Comments
@henrik-me another good one; |
@jmprieur : makes sense to investigate options. |
Proposal is to add a new constant named cc: @henrik-me |
This is now solved in MSAL.NET 2.6.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
My app is a Xamarin.iOS app targeting an AAD B2C tenant.
To invoke the AAD B2C "edit profile" policy, it seems we need to specify an explicit authority in the call to
AcquireTokenAsync()
, using one of the overloads that accept anauthority
parameter.However, all 4 overloads that accept an
authority
parameter, also require thebehavior
parameter, and because theUIBehavior
type is astruct
it cannot be supplied asnull
. Nor does it have any static fields to initialize an empty/zero behavior.As a result, we have to specify either
SelectAccount
,ForceLogin
orConsent
, and in my testing, all of them results in the IDP selection UI being displayed before the actual profile edit UI.How can we avoid showing an IDP selection UI in AAD B2C and instead directly present the user with the actual profile edit UI?
The text was updated successfully, but these errors were encountered: