tymondesigns / jwt-auth

🔐 JSON Web Token Authentication for Laravel & Lumen
https://jwt-auth.com
MIT License
11.26k stars 1.55k forks source link

401 not found laravel 7.15.0 #1997

Open lfelisiak opened 4 years ago

lfelisiak commented 4 years ago

401 not found laravel 7.15.0

Hi, no matter what I try, the generated token when used to request an endpoint throws 401 unauthorized, I'm using apache2 with php 7.2

Your environment

Q A
Bug? yes
New Feature? no
Framework Laravel
Framework version 7.15.0
Package version 1.0.0
PHP version 7.2.28

Steps to reproduce

fresh install laravel, install jwt tymon, configure, request for a token, use the token, 401

Expected behaviour

Granted acccess to uri

Actual behaviour

401 unauthorized

rheedwahn commented 4 years ago

@lfelisiak how are you passing the token to the header of your request

lfelisiak commented 4 years ago

@rheedwahn I think it's solved, it was a web server related issue, neither nginx nor apache were passing the auth header.

rheedwahn commented 4 years ago

@rheedwahn I think it's solved, it was a web server related issue, neither nginx nor apache were passing the auth header.

I see.

stale[bot] commented 3 years ago

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.