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

AspNetCoreOperationSecurityScopeProcessor doesn't work #4908

Open
Leon99 opened this issue Jun 6, 2024 · 0 comments
Open

AspNetCoreOperationSecurityScopeProcessor doesn't work #4908

Leon99 opened this issue Jun 6, 2024 · 0 comments

Comments

@Leon99
Copy link
Contributor

Leon99 commented Jun 6, 2024

.NET 8, NSwag 14.0.7.
Tried to follow https://github.com/RicoSuter/NSwag/wiki/AspNetCore-Middleware#add-oauth2-authentication-openapi-3 but couldn't make Swagger UI to pass the authorization header. It started to work after switching to OperationSecurityScopeProcessor instead AspNetCoreOperationSecurityScopeProcessor. Not sure if there's a problem with AspNetCoreOperationSecurityScopeProcessor or a documentation change is needed.

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

1 participant