Replies: 1 comment
-
Ignore, suddenly realised what I'd done in our custom authorization process! |
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
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 am attempting to upload a file from my UI to a minimal API endpoint however I get the following log entries: -
[2025-01-09 11:34:07Z INF] (Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler) AuthenticationScheme: Cookies was forbidden.
[2025-01-09 11:34:07Z INF] (Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectHandler) AuthenticationScheme: oidc was forbidden.
I've checked the request and the 4 auth cookies are present and the same API endpoint setup works perfectly with non-form upload type POSTS and GETS.
I cannot find any documentation to suggest any additional configuration is required when using authentication and attempting to upload a file via a minimal API.
Beta Was this translation helpful? Give feedback.
All reactions