the-bed-stack icon indicating copy to clipboard operation
the-bed-stack copied to clipboard

feat: bearer authorization on swagger ui

Open TeeWallz opened this issue 1 year ago • 0 comments

Description

While bearer authorization has been implemented, there is no way to utilize this via the Swagger UI in current state.

This MR introduces this value via teh standard jwt mechanism. It also corrects the jwt token prefix to the use standard 'bearer' prefix to align with the jwt standard. Without this change, the bearer token generated fails the 'token' string check.


PR Checklist (Please do not remove)

  • [x] Read the CONTRIBUTING guide
  • [x] Title this PR according to the type(scope): description or type: description format
  • [x] Provide description sufficient to understand the changes introduced in this PR, and, if necessary, some screenshots
  • [x] Reference an issue or discussion where the feature or changes have been previously discussed
  • [x] ~Add a failing test that passes with the changes introduced in this PR, or explain why it's not feasible~
  • [x] ~Add documentation for the feature or changes introduced in this PR to the docs; you can run them with bun docs~

TeeWallz avatar Aug 12 '24 22:08 TeeWallz