-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
New AuthenticationOptions
property in global configuration
#842
Comments
Can anyone please provide me with an answer? |
I can confirm that this scenario is not supported (or not working for me atleast) as I ran across the same issue today. Not sure why though |
@TomPallister any thoughts? Authentication does not seem to work if AuthenticationOptions is in the GlobalConfiguration section. |
Yes, I think this should be an option. I have to explicitly add the AuthenticationOptions in every ReRoute which is a bit of a risky thing. Because, if it is missed in a single reroute by mistake, user would be able to access the data unauthenticated. |
@faultcode commented on May 8, 2019
I believe the answer to all your Qs is Yes because @jlukawska has prepared a nice PR #1215 . The issue has been accepted due to open PR #1215 by @jlukawska |
@faultcode @harindaka @harshmaurya |
Assigned to @jlukawska |
AuthenticationOptions
property in global configuration
Is it possible to use
AuthenticationOptions
in theGlobalConfiguration
? Like this:The reason why I would do that is: the
Routes
configuration is coming from a Service Discovery, and I want all of them to be authenticated via IdentityServer with keyTestKey
.Also, is it possible to add
AllowedScopes
to a service registered to Consul, and then map it to Ocelot Routes dynamically (same as host-names and ports)?The text was updated successfully, but these errors were encountered: