Skip to content

Unable to send the domain_hint with Blazor web assembly (using MSAL JS) #29440

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

Closed
singhnishant40 opened this issue Sep 1, 2020 · 5 comments
Closed
Labels
area-blazor Includes: Blazor, Razor Components good first issue Good for newcomers. help wanted Up for grabs. We would accept a PR to help resolve this issue

Comments

@singhnishant40
Copy link

Issue reference: https://stackoverflow.com/questions/63605653/is-there-a-way-to-supply-a-domain-hint-for-single-sign-on-using-msal-net-on-a-bl

@umlaufa1
Copy link

umlaufa1 commented Sep 2, 2020

FYI, domain_hint is a AuthenticationParameter of MSAL, which does not appear to be supported/exposed by the Microsoft.Authentication.WebAssembly.Msal package

Here are related issues for other Authentication parameters:
extraQueryParameter: #25391 (#25391)
loginHint: #19877 (#19925)

@szalapski
Copy link

Yes, this is important to us. Users get a suboptimal experience without it.

@szalapski
Copy link

Would you be willing to prioritize it somewhat? It definitely affects UX and so should be considered.

@umlaufa1
Copy link

umlaufa1 commented Oct 9, 2020

I am just an early adoptor looking to use Blazor for a project in my business. You independently ran into this issue at the same time I did. The lack of Domain Hint and other MSAL parameters is a big drawback because it prohibits a rich login UI (which is one of the first things users see). Blazor is awsome and the dev community is great too. You may want to consider posting this issue under dotnet/aspnetcore where it might receive more attention.

@pranavkm pranavkm transferred this issue from dotnet/sdk Jan 20, 2021
@pranavkm pranavkm added the area-blazor Includes: Blazor, Razor Components label Jan 20, 2021
@javiercn javiercn added good first issue Good for newcomers. help wanted Up for grabs. We would accept a PR to help resolve this issue labels Jan 20, 2021
@mkArtakMSFT
Copy link
Contributor

Thanks for contacting us.
We plan to add documentation describing how to make customizations to the underlying MSAL.js library. You can find the pending PR at: dotnet/AspNetCore.Docs#21236

@ghost ghost locked as resolved and limited conversation to collaborators Feb 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-blazor Includes: Blazor, Razor Components good first issue Good for newcomers. help wanted Up for grabs. We would accept a PR to help resolve this issue
Projects
None yet
Development

No branches or pull requests

6 participants