Uptime-Kuma-Web-API icon indicating copy to clipboard operation
Uptime-Kuma-Web-API copied to clipboard

Enable Authorization: Bearer <token> in Swagger UI

Open C-Duv opened this issue 1 year ago • 0 comments

It looks like the Swagger UI does not allow connecting to the API using a bearer token.

When I click the "Authorize" button, I am only offered to fill credentials for "OAuth2PasswordBearer (OAuth2, password)" security scheme. If enabled, the Bearer authentication HTTP authentication scheme one could use, on the Swagger UI, the token the README explain how to get.

C-Duv avatar Jan 17 '24 13:01 C-Duv