Skip to content
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

.NET 7: Update doc about UseAuthentication() and UseAuthorization() methods #27219

Open
Andrzej-W opened this issue Oct 7, 2022 · 3 comments
Assignees
Labels
Source - Docs.ms Docs Customer feedback via GitHub Issue

Comments

@Andrzej-W
Copy link

It looks there are some important changes in authentication/authorization configuration in .NET 7. Here dotnet/aspnetcore#42802 we can read that calls to UseAuthentication() and UseAuthorization() where removed from templates. A few weeks later here dotnet/aspnetcore@63750b9 a call to UseAuthorization() was added, but there is no call to UseAuthentication(). This strange change should be documented. I have found some discussion here dotnet/aspnetcore#39855. Maybe @DamianEdwards or @captainsafia can help.

There are a lot of pages in the documentation where we can see calls to both methods. We can also read that it is important to have UseAutentication before UseAuthorization. All this information have to be verified and corrected.


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

@dotnet-bot dotnet-bot added ⌚ Not Triaged Source - Docs.ms Docs Customer feedback via GitHub Issue labels Oct 7, 2022
@captainsafia
Copy link
Member

@Andrzej-W Thanks for the issue! We're working on updating the docs for .NET 7 now and will include this information. We'll also include a note in the upgrade guide.

@doggy8088
Copy link
Contributor

@captainsafia Any progress on this issue?

@Laftek
Copy link

Laftek commented Jul 28, 2024

any update?

@Rick-Anderson Rick-Anderson removed their assignment Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Source - Docs.ms Docs Customer feedback via GitHub Issue
Projects
Status: To do
Development

No branches or pull requests

6 participants