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

The call to UseAuthorization should appear between app.UseRouting() #1

Open
mpaulohs opened this issue May 24, 2021 · 1 comment
Open

Comments

@mpaulohs
Copy link

The project is generating the following warning: The call to UseAuthorization should appear between app.UseRouting() and app.UseEndpoints(..)
for authorization to be correctly evaluated.
Blazor

@tesar-tech
Copy link
Owner

Yes, because we set authorization for both apps.. The second UseAuthorization is after first UseEndpoints, that is the problem I think...

Do you have any solution to this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants