Skip to content

Add support to authorize by using POST method JSON via REST API #5441

Open
@micobarac

Description

@micobarac

Among all REST API methods available to Swagger UI, my Spring Boot application exposes REST API method to authenticate user on:

http://localhost:8080/api/authenticate with JWT token as a result of successful login.

Is there any way to configure Swagger UI to use this logics, instead of authorizing manually and pasting apiKey JWT token by hand?

Swagger UI should provide authorization form with username and password, pass those as JSON to API via POST method, grab JWT token and store it as apiKey automatically.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions