the-bed-stack
the-bed-stack copied to clipboard
feat: bearer authorization on swagger ui
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): descriptionortype: descriptionformat - [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~