swagger-api / swagger-api/swagger-ui

Negotiate Authentication on Windows

Open
#5,168 16 comments 11 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

cat: auth P2 specification: 3.x type: feature
Dominant language
JavaScript
Stars
29k
Forks
9.3k
Avg merge
2d 23h
Merged PRs (30d)
25

Description

  • OS: WIndows
  • Browser: Any
  • Version: Any
  • Method of installation: dist
  • Swagger-UI version: 3.20.5
  • Swagger/OpenAPI version: OpenAPI 3.0

I see that OAS3 allows for "negotiate" authentication but Swagger-UI seems not to implement this? This is a very common thing in corporate APIs, naturally. Swagger-UI does not do the usual Windows Negotiate header exchange with the "Try It Out" functionality even though identical requests work fine with NTLM/Kerberos negotiated authentication directly in the browser. If there is any way to get this to work, would be interested.

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 3.20.5's Try It Out authentication and request handling for OpenAPI 3.0 security schemes. Compare its behavior with the browser's Windows Negotiate exchange and document the required request flow; done means a supported Negotiate-authenticated API works through Try It Out.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, openapi
Domain
api, authentication
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.