swagger-api / swagger-api/swagger-ui

Available authorizations: disable or hide client_id selection

Open
#4,677 2 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

type: question
Dominant language
JavaScript
Stars
29k
Forks
9.3k
Avg merge
2d 23h
Merged PRs (30d)
25

Description

Maybe its very basic question, but I cannot find a good example of how I can modify the "Available authorizations" panel

For example, when I use oauth2 (OAuth2, implicit), I would love to disable or hide client_id textbox.
Same for the Authorization URL label.

I hope someone can point to a good example or documentation.
Thank you.

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

The issue names the Available authorizations panel and OAuth2 implicit flow, but no file or test. Start by locating that panel and its OAuth2 handling in Swagger UI, then check how client_id and the Authorization URL label are configured. Done means documenting or enabling a way to hide or disable those controls.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.