-
Notifications
You must be signed in to change notification settings - Fork 150
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
Does swagger-docs support OAuth 2.0? #97
Comments
Hi @rhazegh - Not currently I'm afraid. |
@rhazegh I created a pull request to support this #101 |
a big 1 for this. Let me know if there's anything I can do to help get this ready to be merged. |
Just to steal some thunder and offer an alternative here, this is supported by my swagger-blocks gem if you're interested (bearing in mind that it's an unrelated project and a different doc format). Example oauth2 code here. |
huge 1 for this too! |
This was highly requested in swagger-blocks too, so I just added docs for how to do it if anyone's interested: https://github.com/fotinakis/swagger-blocks#security-handling |
I know this issue is old, but thanks to @rhazegh for the PR. I've used all of your code to implement the authorizations support. Thanks so much for that! 0.2.1 adds this support. |
@richhollis the PR was made by @RKushnir |
Can I generate json spec files that are capable of handling OAuth 2.0 authentication in the swagger-ui?
The text was updated successfully, but these errors were encountered: