swagger-api / swagger-ui

Swagger UI is a collection of HTML, JavaScript, and CSS assets that dynamically generate beautiful documentation from a Swagger-compliant API.
https://swagger.io
Apache License 2.0
26.41k stars 8.93k forks source link

Digest access authorization #8264

Open mattias-kindborg-at-work opened 1 year ago

mattias-kindborg-at-work commented 1 year ago

Content & configuration

Swagger/OpenAPI definition:

openapi: 3.0.3
info:
  title: Some API
  version: 1.0.0
paths:
  /foo:
    get:
      responses:
        '200':
          description: Some description
components:
  securitySchemes:
    digestAuth:
      type: http
      scheme: digest
security:
  - digestAuth: []

Is your feature request related to a problem?

When trying to authorize using Swagger UI I get digestAuth HTTP authentication: unsupported scheme 'digest' displayed in the UI. I'm guessing that digest auth isn't supported?

Describe the solution you'd like

I would like digest auth to work against devices that support the protocol.

Describe alternatives you've considered

I'm open to contribute this functionality if you deem that digest auth is applicable to this project.

AV25242 commented 1 year ago

Any considerations to make digest authentication be available with OpenAPI spec ?

sydpz commented 1 year ago

I also need this feature

heibaijian commented 1 year ago

Is there any plan for this requirement?

rozzilla commented 1 year ago

+1

bambamboole commented 3 months ago

I am currently converting our legacy docs to OAS 3 and am stumbling over the same issue. No option to describe digest auth. So also a +1 form me :)

mbivlsi commented 2 months ago

We are also waiting for this feature.