8000 🐛 Fix OpenAPI security scheme OAuth2 scopes declaration, deduplicate security schemes with different scopes by tiangolo · Pull Request #14455 · fastapi/fastapi · GitHub
[go: up one dir, main page]

Skip to content

Conversation

@tiangolo
Copy link
Member
@tiangolo tiangolo commented Dec 4, 2025

🐛 Fix OpenAPI security scheme OAuth2 scopes declaration, deduplicate security schemes with different scopes

This should fix #14454

@tiangolo tiangolo added the bug Something isn't working label Dec 4, 2025
@tiangolo tiangolo marked this pull request as ready for review December 4, 2025 12:58
@tiangolo tiangolo merged commit 0ec4baf into master Dec 4, 2025
34 of 35 checks passed
@tiangolo tiangolo deleted the oauth2-scopes-openapi branch December 4, 2025 12:59
@tiangolo
Copy link
Member Author
tiangolo commented Dec 4, 2025

This was released in FastAPI 0.123.8 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

OAuth2 security schemes duplicated in OpenAPI, with and without scopes, when used at the router level

2 participants

0