swagger-api / swagger-api/swagger-ui

GET OIDC client credentials from the Server where SwaggerUI is hosted.

Open
#7,270 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

type: support
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.