cancel
Showing results for 
Search instead for 
Did you mean: 
Welcome to the September Hub-bub

We are inviting you to join our exciting online event where you can learn a lot of useful information, share your knowledge and have fun. Each week, we will reward the best posters with free gift cards .

Just pick any topic you like in the SwaggerHub Community, or create your own to dive into the wonderful September Hub-bub.

Event duration: September 2-27. More information.

This Week Top Contributors:

We will decide the winners next Monday

security: - bearerAuth: [] how to generate a JWT to authorize users

Highlighted
New Contributor

security: - bearerAuth: [] how to generate a JWT to authorize users

I wanted to provide security to my api as below

security:
- bearerAuth: []

components:

securitySchemes:
    bearerAuth:
    type: http
    scheme: bearer
    bearerFormat: JWT # optional, for documentation purposes only

 

 

How to generate a JWT for the users to authorize?

New Here?
Join us and watch the welcome video:
Top Kudoed Authors
Join the September Hub-bub to show off, learn and win