Replies: 1 comment
-
@fauresco, have you read this doc https://ocelot.readthedocs.io/en/latest/features/authentication.html. May be it can help |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have written a custom authorization routine hooked up in Ocelot
PreAuthorizationMiddleware
.How can I run this just for specific routes?
Is there any concept like adding a custom property to a route? Something like
UseAdvancedAuthorization=true
and somehow access this in thePreAuthorizationMiddleware
to decide if it will handle the authorization or just let the defaultAuthorizationMiddleware
do its job.Beta Was this translation helpful? Give feedback.
All reactions