Replies: 1 comment
-
From Enabling authentication in minimal apps
|
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
-
In the code below the
CookieAuthenticationHandler
fires and tries to authenticate the request although I didn't callapp.UseAuthentication()
orapp.UseAuthorization()
orRequireAuthorization()
. Why is that and how to avoid this behavior for endpoints that don't require authentication?Beta Was this translation helpful? Give feedback.
All reactions