-
Notifications
You must be signed in to change notification settings - Fork 676
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
Update to newest version of Swagger UI to support Password Flow #986
Comments
Pull request #974 could be of interest for this issue. This essentially updates Swagger UI to 2.2.10, which has the new password flow functionality. I too am eager for this to be supported in Swashbuckle. Though, I am not sure to what extend Swashbuckle itself would need some tinkering in order for password flow to function properly. This, as Swashbuckle provides config settings for the grant type which should be used in Swagger UI. |
We're also interested in the password flow. P.S. thank you guys for your work implementing so cool tool! |
I have just compiled the latest commit of master and I verified that OAuth2 password flow works correctly. Does anyone know when the new version of the NuGet package will be released? |
It seem that the owner is busy with other projects... |
@heldersepu I saw the call for maintainers and I would like to be helpful. However, at the moment, I do not have enough insights on the inner workings of the library and the overall design to be of any real help. |
I am very interested to this update. |
I am very interested too. Authorization works great. But after there is no authorization header in requests to api. Is this will be solved after upgrade? |
All we need is a new version of the NuGet package... |
I've been working on my fork, I updated to the latest Swagger-UI (3.x), here is how it looks on one of my projects: If you have time I could use your help testing it, you can get my version from MyGet: |
SB v5.6.0 ships with swagger-ui 2.2.10 and is now available on Nuget. I believe this resolves the original issue. @pdusen - please let me know if this isn't the case. Thanks |
@domaindrivendev It seems like the way authorization settings are configured in Swagger UI have been changed. This means that the corresponding So this isn't a clear-cut 'upgrade Swagger-UI and everything is fixed'-solution, unfortunately. It does seem that there isn't too much needed to make Swashbuckle work with those new settings, though. |
@UnrealKazu if possible can you elaborate on the changes required to make Swashbuckle work with the new settings so it's a little more turnkey for the rest of us? Using the V5.6 which ships with swagger-ui 2.2.10 |
Since #202 is closed and is not receiving any responses from @domaindrivendev, I'm trying to draw attention to this by opening a new issue.
Password Flow support has landed in swagger-ui Master: swagger-api/swagger-ui#2397
Please update Swashbuckle to make use of the newest version of swagger-ui.
The text was updated successfully, but these errors were encountered: