Home > Enterprise >  jwt error when passing token in authorization
jwt error when passing token in authorization

Time:02-01

I have a problem in JWT version tymon/jwt-auth: 1.0.0-beta.2 using php 7.2 and laravel 5.1.

when i use token in authorization header i get token error in provider

enter image description here

CodePudding user response:

It's hard to find help here. Unfortunately there are too many superb ones. And sorry for the spelling, I use the translator to write in the English language. On the other hand, my problem was solved, it was just configuration in folder in htaccess inside laravel's public folder, because by default apache removes token from header

CodePudding user response:

I guess you need to make space between "Bearer" and the actual token.

  • Related