question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

domain_hint Not Working

See original GitHub issue

Which Version of MSAL are you using ? 2.7.0

Which platform has the issue? UWP Desktop

What authentication flow has the issue?

  • Desktop / Mobile
    • Interactive
    • Integrated Windows Auth
    • Username Password
    • Device code flow (browserless)
  • Web App
    • Authorization code
    • OBO
  • Web API
    • OBO

Repro

MSAL version (DOES NOT show customized login):

await pca.AcquireTokenAsync(scopes, user, UIBehavior.ForceLogin, "domain_hint=mydomain.com");

ADAL version (shows customized login):

await ac.AcquireTokenAsync(resourceId, clientId,
                                    new Uri(redirectUri),
                                    new PlatformParameters(PromptBehavior.Always, false),
                                    UserIdentifier.AnyUser,
                                    "domain_hint=mydomain.com");

Expected behavior Expecting to have our customized login for mydomain.com and password hint text shown like it currently does for our ADAL version.

Actual behavior It doesn’t show the customized login configured as it does on ADAL.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:13 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
MarkZubercommented, Jan 23, 2019

Verified this is not being sent on 2.7.0. This is fixed in our dev3x branch as part of our upcoming 3.x release. We don’t have locked down timelines for a 3.x release but it should be within the next two weeks. is this blocking you @myokeeh or can you wait for our 3.x release?

1reaction
jmprieurcommented, Feb 8, 2019

Fixed in 3.x (with the new builder API)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Azure B2C Domain Hint Microsoft.com Not Working
We have recently a Azure AD B2C with a user flow that supports Google and Microsoft sign up/sign in. This flow supports the...
Read more >
Azure B2C custom layout redirect to domain hint but not ...
The problem: I can redirect to the IDP by adding the domain_hint param in the URL but I can't add the email to...
Read more >
domain_hint does not work on home-realm-discovery ...
Hi, I read that home-realm-discovery-modern sample is based on SocialAndLocalAccounts base policy. The base policy has support for domain ...
Read more >
Azure B2C domain_hint multiple claims providers not ...
I have configured a custom policy with three different claims providers and each of them have set "Domain" property to indicate domain_hint.
Read more >
Domain hint configuration error
Hi, I keep seeing an error every time I run the self-test related with the Domain hint. I included the domains in the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found