DEV Community

Discussion on: Laravel Api Documentation with Swagger and Passport

Collapse
 
kvinay3 profile image
kvinay3

instead of using passport i want to use my jwt token in header but i want user to add email / password in auth modal and the token should automatically set to header,
we do not want user to copy and paste the token in auth modal manually, when using apiKey securitySchemes
is that possible to achieve
dev-to-uploads.s3.amazonaws.com/up...
dev-to-uploads.s3.amazonaws.com/up...

refer 2nd screenshot i want to set token automatically here
or if possible provide email / password input and after response add that into header