Forum Discussion

vadakoppula's avatar
vadakoppula
New Contributor
5 years ago

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?

No RepliesBe the first to reply