Skip to content

Basic auth shouldn't require a password change reverted? #5410

@RedwoodForest

Description

@RedwoodForest

I am using swagger-ui version 3.19.5 (via Swashbuckle.AspNetCore.SwaggerUI v4.0.1) with an API that uses basic auth with a username but no password.

(One example of a high traffic and well-designed API that uses this approach for authentication is the Stripe API.)

It looks like in #2114 swagger-ui was changed to not require a password, but in the authorize dialog the password seems to always be required.

Was reverting this change intentional? Is there a workaround I can use to make it optional?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions