Skip to content

Can Ocelot redirect unauthenticated requests to IdentityServer? #1896

Answered by raman-m
bremnes asked this question in Q&A
Discussion options

You must be logged in to vote

@bremnes commented on Aug 5, 2018

@bremnes Can Ocelot redirect unauthenticated requests to IdentityServer?

It seems Not!


  • Client_credentials request from services being negotiated, authenticated and routed to the downstream web application

We cannot implement complex auth-logic... You can override AuthenticationMiddleware and do your own thing... you control everything.
We don't see much benefits in implementation of rare user scenarios. But we welcome to introduce custom Auth-providers in Ocelot as modules. So, any contribution is welcome!


  • Authenticated requests from web browser being proxied through to the downstream web application

Don't switch on authentication if Ocelot do…

Replies: 13 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by raman-m
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Initially seen a question could become a new feature or bug or closed ;)
7 participants
Converted from issue

This discussion was converted from issue #532 on January 07, 2024 09:56.