Swagger-ui: Auth button doesn't indicate missing OAuth2 scopes anymore

Created on 15 Feb 2017  Â·  9Comments  Â·  Source: swagger-api/swagger-ui

There used to be a warning sign (yellow (!)) when a user is authenticated, but OAuth2 scopes are not sufficient.

Looking at the code: https://github.com/swagger-api/swagger-ui/blob/f321c62edc53fc5e51fbe08d813921820f1a85db/src/main/template/auth_button_operation.handlebars it seems that this logic is lost. Is it intentional?

auth Udesign input enhancement 3.x

Most helpful comment

This is still an issue in v3

All 9 comments

Can you check the latest master?

@webron #2774 blocks me in my attempts working with OAuth2.

@frol what about now?

@webron I will give it a try later today.

@webron I have checked it and discovered another bug in OAuth2 Password Flow, so I PRed #3226. Once I resolved that I could proceed to test this one, and the "lock" indicator still does not indicate that there are missing OAuth2 scopes. They are either all locked or all unlocked.

This sounds like v2, so I'm closing. If I'm mistaken, bump this thread and I'll reopen!

This is still an issue in v3

any news on this?

Folks: per the Swagger Contribution Guide, please refrain from making comments that only serve to bump the issue or indicate interest — use Reactions to vote for issues instead. Thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ankon picture ankon  Â·  4Comments

LaysDragon picture LaysDragon  Â·  3Comments

hnthu picture hnthu  Â·  3Comments

MartinMuzatko picture MartinMuzatko  Â·  4Comments

easyest picture easyest  Â·  3Comments