Search code examples
oauth-2.0openid-connectswagger-2.0openapi

OpenAPI/Swagger spec for OAuth 2 Authorization code flow


Is there are good open source Swagger 2.0 spec for OAuth 2 Authorization code flow that I could use in my project? Or a swagger spec for OpenID Connect flow.


Solution

  • I ended up creating my own OpenAPI spec for endpoints used in OAuth2 Authorization Code grant: https://github.com/fed239/oauth2-swagger/blob/master/oauth2-authorization_code.yaml