Repository navigation
Replies: 1 comment
|
@fauresco, have you read this doc https://ocelot.readthedocs.io/en/latest/features/authentication.html. May be it can help |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
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=trueand somehow access this in thePreAuthorizationMiddlewareto decide if it will handle the authorization or just let the defaultAuthorizationMiddlewaredo its job.All reactions