cakephp-swagger
cakephp-swagger copied to clipboard
How to use JWT Authorization using Bearer <token>
Is there any way to use api_key
to represent 'Authorization: Bearer <token>'
in header.
To be honest I'm not sure since I have only used the UI to manually set the JWT header. You might want to check the issues mentioning on the Swagger github repo.
See latest comments on https://github.com/swagger-api/swagger-ui/issues/818 . I'm also eagerly awaiting JWT support in this project, but it sounds like it's still at least a few months away.
Thanks for sharing Mr. @curtisgibby, I will have a quick look myself this weekend, perhaps we can add some magic ourselves while waiting for formal support. Suggestions/PR welcome