-
Notifications
You must be signed in to change notification settings - Fork 678
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
Swashbuckle 5.0 and Password Grant Flow #202
Comments
As far as I can tell, the OAuth2 "Password flow" is not currently supported by the swagger-ui So, you can describe it in the spec (as you appear to be doing above) but you won't get any of the additional UI goodness. But, SB does allow you to a) inject your own JavaScript or b) inject your own version of index.html so if you were willing, you could theoretically build in the UI workflow yourself ... |
Hi @domaindrivendev is this still not available yet? I was hoping to be able to support this flow on the UI level too. |
@domaindrivendev I second the request by @tjoudeh this will be a much appreciated feature. |
I just develop my web api documentation using swashbuckle 5 but I think I will use another previous version because I need this feature. |
@domaindrivendev @tjoudeh Any update on this? |
@domaindrivendev It looks like Password Flow support has landed in swagger-ui Master: swagger-api/swagger-ui#2397 Are there any changes that need to be done in Swashbuckle to include this? |
@domaindrivendev I'd appreciate a response to my comment above. |
This would interest me, too. |
I am also interested in the latest version of swagger ui. I believe the current version is 3.0.9 and seems to add additional support for the OAuth forms. |
Does anyone have some documentation on how to implement password flow in .NET Framework (rather than .NET Core). |
There is documentation on how to authenticate request with the Implicit Grant Flow but not with the Password Grant Flow. Based on the doc for the implicit grant I've enable swagger like this
I took the "AssignOAuth2SecurityRequirements" extension under SwahsBuckle.Dummy.Core.
Is there any other extensions needed for the Password Flow?
The text was updated successfully, but these errors were encountered: