Skip to content

Auto-redirect to external IdP #79

You must be logged in to vote

Heya @sanjeev-saxena-us 👋

Getting IdentityServer to auto-redirect to an external provider is relatively easy - I'll assume you don't need to logically switch between multiple external providers for the same client, just that depending on the client, you need to always redirect to a specific external provider (do correct me if I'm wrong).

Have you looked at the EnableLocalLogin and IdentityProviderRestrictions properties in the client configuration?

Setting EnableLocalLogin to false, will remove the username & password fields from the default UI.
Specifying external providers in the IdentityProviderRestrictions collection will restrict that client to just the specified providers.
See the d…

Replies: 3 comments 4 replies

You must be logged in to vote
0 replies
Answer selected by maartenba

You must be logged in to vote
0 replies

You must be logged in to vote
4 replies
@StuFrankish

@sanjeev-saxena-us

@StuFrankish

@sanjeev-saxena-us

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants