Skip to content

[BUG] Authorize button is not clickable... #1029

@NamerPRO

Description

@NamerPRO

go version go1.25.9 linux/amd64
huma version v2.38.0

Breif introduction

Authorize button is not clickable when DocsRendererSwaggerUI is selected. When DocsRendererScalar or DocsRendererStoplightElements is used everything is working as expected.

Steps to reproduce:

  1. Create huma config with config.DocsRenderer = huma.DocsRendererSwaggerUI
  2. Open SwaggerUI, click Authorize, enter token and try to apply it
  3. See that token is not saved and not applied when appropriate requests are sent.

Expected behaviour

Token is applied and used when appropriate requests are made.

Comment

If you need an additional information, let me know about it here 😸

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions