-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Authorization broken in Razor Pages .Net Core 3.0 preview 3 #8387
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@Ponant can you show exactly what modifications you made to the app after the initial project was created? |
@Eilon , go to the
but you will be able to access the Privacy page Also
does nothing. |
Not sure what's happening here, but I'll take a look. |
Just create the identity template and navigate to |
Thanks for the details, @Ponant. |
@mkArtak , out of curiosity, do you know from where the bug comes from? |
The root cause of this issue is that the methods like Since We had a test gap in this area due to some functional tests that weren't running in the correct configuration. Updating the test app setup to be more like our documentation caused these tests to fail. I plan to check in the changes to the test setup as part of some other changes and skip the tests related to this issue. To be crystal clear on the point - this is is a bug, and it is broken in preview 3. Official releases such as 2.2 do not have this bug. |
* Make AuthorizeFilter work in endpoint routing Fixes #8387
@pranavkm , is it possible to know the cause of the bug? Thanks for the fix! |
Asp.Net Core Identity 3.0 Preview 3 template with RP
Authorize attribute does nothing on the Privacy page
AuthorizePage nothing
AuthorizeFolder nothing
You can also navigate to /Identity/Account/Manage, which should trigger back to login whereas it shows Unable to load user with ID '' gotten from the get request.
Is this planned for preview 4?
Related to #7011 which is flagged as done and closed but does not work.
The text was updated successfully, but these errors were encountered: