C
C#4mo ago
Johann

[AllowAnonymous] not working when request was handled by YARP

Hi! I have an issue with the application of authorization policies in an app using YARP - maybe somebody here has some clue what I'm doing wrong here: https://github.com/microsoft/reverse-proxy/discussions/2554 tl;dr: Using an authorization policy on a YARP route clashes with the [AllowAnonymous] attribute on a controller defined in the same project.
GitHub
[AllowAnonymous] ignored after request was handled by YARP · micr...
Scenario: I have an ASP.NET Core Project that uses Yarp as an ingress for serveral backends and a JavaScript/SPA Frontend. Authentication is handled via a on-premise ADFS instance/OIDC. As the ADFS...
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server