question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Oauth scope not showing in popup ui

See original GitHub issue

When reporting an issue, please provide the following details:

  • swagger-ui v2.2.10 I am using a package that uses the swagger ui package. the Oauth Scopes where shown in the UI in a prior version but are not shown in the current release.

https://github.com/domaindrivendev/Swashbuckle/issues/1118#issuecomment-310095051

the swagger.json file has the oauth settings and the token server url and flow are working just not the scopes.

here is a frgment of the json:

"securityDefinitions": { "oauth2": { "type": "oauth2", "description": "OAuth2 Implicit Flow", "flow": "implicit", "authorizationUrl": "https://xxxxxxxxxxxx.com/id/connect/authorize", "tokenUrl": "https://xxxxxxxxxxx.com/id/connect/token", "scopes": { "read": "Read access to protected resources", "write": "Write access to protected resources" } } }, "security": [], "tags": []

no scopes or checkboxes are shown in the popup

trying to work out why they are not working with the package update, the rest of the settings are seen, just not the scopes collection.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
figuerrescommented, Jun 21, 2017

yes that was the problem and now i can fix my app!!! thanks @webron for your help in idenifiying the source of the problem!!

0reactions
figuerrescommented, Jun 21, 2017

ok, thanks… i will report this to the project and see what we can do to fix it.

working on a test fix so that i can verify this…

Read more comments on GitHub >

github_iconTop Results From Across the Web

Google OAuth Consent Screen is still showing confusing ...
Looks like the behavior happens when the app is requesting access from different services as noted in this Project Strobe blog. There will...
Read more >
How to manage OAuth 2.0 scopes - Connect2id
How to manage OAuth 2.0 scopes. In OAuth 2.0 the access given to a token for a protected resource is represented by the...
Read more >
NetWeaver Gateway Service Enabling and OAuth 2.0 Scope ...
Select the ZLEAVEREQUEST service from the service list. Put the required information into the popup window as shown in the figure and press...
Read more >
OAuth API verification FAQs - Google Cloud Platform Console ...
Your app uses any of the sensitive or restricted scopes to request Google User Data. You want your application to display an icon...
Read more >
Sign In With Google JavaScript API reference | Authentication
Note: We won't notify you for the display, skipped, or dismissed moments of the native credential manager UI. We have no control over...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found