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
Which version of Microsoft Identity Web are you using?
0.2.1-preview
Where is the issue?
Web app
Sign-in users
Sign-in users and call web APIs
Web API
Protected web APIs (validating tokens)
Protected web APIs (validating scopes)
Protected web APIs call downstream web APIs
Token cache serialization
In-memory caches
Session caches
Distributed caches
Other (please describe)
Repro
Create new net core app
Add identity web auth
Define AzureAd properties in config file with domain property defined but no login hint
Runt the Web app and Web API
Expected behavior
Domain hint to be added to the authorization request even if login hint isn't specified
Actual behavior
domain hint doesn't get added to the authorization call
Possible solution
Move domain hint definition outside the if clause
Hi,
I was working with this package to get a web app running with Azure AD, but found that defining the domain did not add it into my authentication request thus not directly opening the federation login page.
I found that this was because domain_hint is only being added when login_hint is not blank or null.
Is this a bug? I was under the assumption that domain_hint could be provided without a login_hint.
domain_hint ingored when login_hint is set.
Break up code so that domain_hint and login_hint are treated
independently.
Co-authored-by: Thibault Durand <thibault.durand@liu.se>
Which version of Microsoft Identity Web are you using?
0.2.1-preview
Where is the issue?
Web app
Web API
Token cache serialization
Other (please describe)
Repro
Create new net core app
Add identity web auth
Define AzureAd properties in config file with domain property defined but no login hint
Runt the Web app and Web API
Expected behavior
Domain hint to be added to the authorization request even if login hint isn't specified
Actual behavior
domain hint doesn't get added to the authorization call
Possible solution
Move domain hint definition outside the if clause
Hi,
I was working with this package to get a web app running with Azure AD, but found that defining the domain did not add it into my authentication request thus not directly opening the federation login page.
I found that this was because domain_hint is only being added when login_hint is not blank or null.
Is this a bug? I was under the assumption that domain_hint could be provided without a login_hint.
microsoft-identity-web/src/Microsoft.Identity.Web/WebAppExtensions/WebAppAuthenticationBuilderExtensions.cs
Lines 135 to 146 in bd0c266
The text was updated successfully, but these errors were encountered: