swagger-api / swagger-api/swagger-ui
GET OIDC client credentials from the Server where SwaggerUI is hosted.
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 29k
- Forks
- 9.3k
- Avg merge
- 2d 23h
- Merged PRs (30d)
- 25
Description
- OS: All
- Browser: Firefox
- Method of installation: dist package
- Swagger-UI version: 3.37.1
- Swagger/OpenAPI version: OpenAPI 3.0
Query is regarding using OIDC in Swagger UI. Swagger UI is hosted on Liberty server. The server has oidcClient configured and a REST API gives all the information regrading client credentials, redirect url etc. With the current implementation it seems that it takes the discovery url and the user is supposed to enter the credentials. But it might not be known to all the users. What I need is that Swagger UI takes the credentials from the server and then redirects directly to the login page of OIDC. Can anyone please help with this?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing Swagger UI’s OIDC authorization flow and the Liberty server REST API described in the issue; no files, tests, or entry points are named. Done would mean Swagger UI can obtain the configured OIDC client details from the hosting server and redirect users to the OIDC login page without requiring manual credential entry.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- authentication, documentation
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100