Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 981
Fedor Avatar asked Feb 04 '26 14:02

Fedor


1 Answers

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

like image 141
Fedor Avatar answered Feb 08 '26 01:02

Fedor



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!