-
Notifications
You must be signed in to change notification settings - Fork 10.4k
Description
This issue has been moved from a ticket on Developer Community.
[severity:I'm unable to use this version]
authorization check only wants to be performed if you go directly to the page and not if you go there via navigation for example via the menu. While the implementation of the old way did this. Can this be adjusted.
Example code old and new one :
https://auth0.com/blog/whats-new-dotnet8-authentication-authorization/
new one: https://learn.microsoft.com/en-us/aspnet/core/security/authorization/iard?view=aspnetcore-8.0
olde one https://learn.microsoft.com/en-us/aspnet/core/security/authorization/iauthorizationpolicyprovider?view=aspnetcore-8.0
Example:
For example, you open a page for 16 and older and you navigate to 18 and older. Then this is possible if you are 17 in the new setup. In the old method this was not possible. Because you have to check that on every page or policy. and you fail for this policy.
Original Comments
Feedback Bot on 6/4/2025, 06:13 AM:
We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.