• Categories
    • PHP
    • phpMyAdmin
    • PHPMailer
    • FFMpeg
    • PHPEXcel
    • PHPDoc
    • PHPUnit
    • CakePHP
    • CakePHP 2.0
    • Cake PHP 2.1
    • CakePHP Model
    • Facebook PHP SDK
    • composer-php
    • PHP 7
    • PHP GD
    All Categories
  • About

Laravel passport auth token not working after moving to different server

phplaravellaravel-passport


PHP Snippet 1:

php artisan key:generate

PHP Snippet 2:

RewriteEngine On
RewriteCond %{HTTP:Authorization} ^(.*) 
RewriteRule .* - [e=HTTP_AUTHORIZATION:%1]

Related Snippets

Call authenticate manually in router middleware

Laravel dosen't connect with Oracle

Laravel unique validation on multiple columns

MySQL default time format UTC or GMT?

Xdebug in Laravel is not working with VSCode

How can I make Laravel return a custom error for a JSON REST API

str_replace or preg_replace random number from string

Docker & Laravel : configure: error: Package requirements (oniguruma) were not met

oauth-private.key does not exist or is not readable

Having issue with matching rows in the database using PDO

renameColumn migration fails for existing column with columns does not exist error

Remove country code from phone number?

Woocommerce product attributes with hierarchy like categories

Laravel lang slug in url

Symfony redirect if already loggedin from login page

About Contact Privacy policy Terms and conditions