-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
OAuth2 Resource Owner Password Credentials #326
Comments
Do you use RC3? |
@xperiandri Yes |
Indeed, |
@domaindrivendev, is |
I think it would be better to submit this question to the swagger-ui folks. Swashbuckle just embeds that tool but doesn't actually do any of the development. It looks like there's already some related discussion in a recent PR to that repo that might shed some light on the subject ... |
I just did't try implicit flow, so ask if it works the described way |
Now it works well with password flow |
I can't check this, but I trust you) |
@xperiandri How did you manage to get it to work for password flow? |
@xperiandri Thank you for your help. For future reference for someone else:
Is only needed for versioning (declare the api version). What I did wrong is that I didn't follow the OAuth2 Specs, i.e. I haven return a valid json with { "access_token": "34h3nf8nnf9a...", "grant_type": "Bearer"} -> this is important! |
Hey! I'm trying to use swagger with api, secured by IdentityServer4 with resource owner password credentials flow. When I try to login - I've got an 400 HTTP error. I look inside HTTP request and see, that swagger did not send clinet_id with acess token request, but it was configured in application middlewares pipeline, inside swaggerUI configureation options. Where am I wrong?
The text was updated successfully, but these errors were encountered: