Mehrdad Masoumi
Mehrdad Masoumi

Reputation: 410

laravel passport create token but not working on centos7

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

Answers (1)

Mehrdad Masoumi
Mehrdad Masoumi

Reputation: 410

the httpd.conf file I added the line (Linux/CentOS 7.6):

SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1

Upvotes: 1

Related Questions