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
wmmihaa opened this issue
Feb 25, 2021
· 5 comments
Labels
area-authIncludes: Authn, Authz, OAuth, OIDC, BearerExternalThis is an issue in a component not contained in this repository. It is open for tracking purposes.
I have an web app which needs to support authentication using multiple AAD's, but if I add more than one every challange gets routed to the same login provider (the last added in ConfigureServices).
When running the application and logging in I get to select from two OpenIdConnect buttons (which is sad that I can't set the display name but that is an other story).
Logging in using the azuread1 provider using a azuread1 account - FAILS as the account is not available in the azuread1 AAD (I will always get routed to azuread2).
Logging in using the azuread2 provider using a azuread1 account - FAILS as the account is not available in the azuread1 AAD.
Logging in using the azuread1 provider using a azuread2 account -WORKS which is kinda weird.
Logging in using the azuread1 provider using a azuread2 account -FAILS.
ghost
locked as resolved and limited conversation to collaborators
Apr 1, 2021
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
area-authIncludes: Authn, Authz, OAuth, OIDC, BearerExternalThis is an issue in a component not contained in this repository. It is open for tracking purposes.
I have an web app which needs to support authentication using multiple AAD's, but if I add more than one every challange gets routed to the same login provider (the last added in
ConfigureServices
).appsettings.json:
Startup.cs:
ExternalLoging.cshtml.cs (from skaffolding)
Scenarios (To Reproduce)
When running the application and logging in I get to select from two
OpenIdConnect
buttons (which is sad that I can't set the display name but that is an other story).azuread1
provider using aazuread1
account - FAILS as the account is not available in the azuread1 AAD (I will always get routed toazuread2
).azuread2
provider using aazuread1
account - FAILS as the account is not available in the azuread1 AAD.azuread1
provider using aazuread2
account -WORKS which is kinda weird.azuread1
provider using aazuread2
account -FAILS.I've made short video to better explain the scenario and issue.
https://youtu.be/SSuciNOnt-0
Further technical details
dotnet --info
The text was updated successfully, but these errors were encountered: