-
-
Notifications
You must be signed in to change notification settings - Fork 396
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
3.x JWT bearer auth not working #160
Comments
Any thoughts @DarkaOnLine |
works for me . thanks @ccorliss |
@ccorliss you way works for me :D |
i'm also facing the same issue. @ccorliss can you please help me how to resolve this. |
To be more explicit: in l5-swagger.php (your configuration file):
Now for your operations, add
Like so:
|
Thanks @kedarv work like champ! |
Hi @kedarv , Thank you |
composer show | grep l5-swagger
)darkaonline/l5-swagger 5.6.8 Swagger integration to Laravel 5
php -v
):PHP 7.2.5
macOS 10.14
Description:
In l5-swagger config I'm configuring JWT bearer auth per documentation.
I also added
bearer
security
requirement to an operation:The authorization button appears and seems to accept my JWT fine:
But when I run the operation it does not send an
Authorization
or any other header as desired, so obviously the request fails.The text was updated successfully, but these errors were encountered: