Comments (3)
Hi - I will try to fix the Oauth feature soon as it is in the codebase as much as possible. Later on maybe investigate if it can be put in the global api-key/token box.
from swagger-ui.
@dmyers I have updated the repro with a working Oauth. I have only tested it with the swagger pet store example. Didn't succed to access your api. The Auth0 implementation is different as you can both select scopes globally and on each operation. This solution is as close to the original swagger as i could get it for now. Please notice that the OAUTH button changes color indicating full cope fullfilment with green and partial with orange.
Other changes : API info is placed in the sidebar at bottom. The schemes are prettified. The oauth token is populated to the token field in the sidebar when authorized successfully.
Please notice that I have made changes to the swagger-oauth lib file and the client.js file. The client file is pulled from my own github repository. If you want to go on you should clone this to your own repo and make changes to the package.json file.
Check out changes here
from swagger-ui.
The schemes look amazing! Yeah those are good points about the scope. The OAuth works really well now too. This thing is really getting solid.
from swagger-ui.
Related Issues (20)
- Installation Doc
- Failed to load resource: the server responded with a status of 504 (Outdated Optimize Dep) HOT 1
- Ability to split body params into single input boxes
- No CURL support (?)
- How to re-publish updated source? HOT 2
- JsonEdittor Configuration Css not working properly
- Try out form does not work when POST with application/x-www-form-urlencoded
- Deeper reference does not work
- Array or list parameter does not seem to work ! HOT 1
- How can i display 'Introduction'
- Not working enum references
- I will rebuild css in SASS (scss) if someone can walk me through current version
- The navigation seems to get buggy sometimes
- Installation guide?
- Is this still maintained? HOT 3
- Support for OAS 3.0?
- Angular
- Custom Layout
- SideBar not expanding HOT 1
- Any pre-built docker image available?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from swagger-ui.