swagger-api / swagger-api/swagger-ui

Is there a way that I can bypass the "available authorizations" dialog?

Open
#8,055 1 comment 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

We have a well known scope and client id that don't really ever change. We would like the lock icon to automatically open up our identity provider without the pop up dialog - as if we clicked it and then clicked the authorize button. Is there a way to configure swagger UI to achieve this behavior?

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 tracing Swagger UI's authorization flow and the configuration options for OAuth or other identity-provider authorization. Verify whether the available-authorizations dialog can be skipped while preserving the lock-icon behavior, then document or test the resulting configuration and its effect on the authorization flow.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, openapi
Domain
authentication, frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 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.