Reputation: 410
Laravel Passport works locally on Windows properly.But by transferring to the Linux server, it doesn't work properly by creating tokens and all configurations.And it always returns error 401
Upvotes: 1
Views: 238
Reputation: 410
the httpd.conf file I added the line (Linux/CentOS 7.6):
SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1
Upvotes: 1