alt3/cakephp-swagger

How to use JWT Authorization using Bearer <token>

hm-91 opened this issue · 3 comments

hm-91 commented

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 swagger-api/swagger-ui#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