-
Notifications
You must be signed in to change notification settings - Fork 9k
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 request adds vendorExtension
scope to all auth requests
#2483
Comments
I experience the same issue as well! #2397 (comment) |
@fehguy Could you, please, elaborate your vision on this issue as it was your commit to Swagger-Client which triggered this bug? |
frol
added a commit
to frol/swagger-js
that referenced
this issue
Nov 13, 2016
The issue due to the mutated scopes popped up in Swagger-UI: swagger-api/swagger-ui#2483
thanks @frol, your patch works for us 👍 |
fehguy
added a commit
that referenced
this issue
Nov 23, 2016
Merged
kodekracker
pushed a commit
to 91springboard/swagger-ui
that referenced
this issue
Mar 2, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When I try to obtain an OAuth2 token using Swagger UI, it displays a
vendorExtensions
scope in the list of scopes for that definition. It also then adds it to the list of scopes in the request from the OAuth server (which causes the request to be rejected).For example, using the following security definition produces this URL, even if only the
my-scope
scope is selected:I believe this is related to swagger-api/swagger-js#869, which added a
vendorExtensions
object to the scopes object.The text was updated successfully, but these errors were encountered: