Please Rename AuthorizeAttribute in Application layer. #977
sechabamot
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
Sorry about that @sechabamot, and thanks for opening this discussion. I think |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
The authorize attribute in the application layer that is meant for IRequest inheriting classes is really ambiguous as to Microsoft.AspNetCore.Authorization Authorize attribute. I am fairly new to this template and I can get how this is a small issue to most but I just spent hours trying to figure out why I couldn't get claims in my httpcontext.user property only to realize I was using the wrong attribute.
Nothing major. Just an idea so others don't fall into the same mistake.
Beta Was this translation helpful? Give feedback.
All reactions