• 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

Convert string to lowercase AND then convert it to its original form in PHP, is it possible?

IlluminateDatabaseQueryException: SQLSTATE[HY000]: General error: 1 no such table - In clone project

Twig - How to check if variable is a number / integer

Laravel Schedule not sending email

Star rating with half star support

HTTP Range requests with php for Video Embedding for solving going to specific time in video (seek bar not work)

how to make my own auto increment in php?

PHP if in_array() how to get the key as well?

How can I pass the list to the component variable in Laravel?

Problems getting instance of UploadedFile in Yii2

nginx err_connection_refused, can anyone help me?

Json_Encode not returning html even i try to encode JSON_HEX_QUOT | JSON_HEX_TAG

Is there an equivalent of DynamoDB on Azure as a PHP session Handler

How to pass security cloudflare server with php curl

Why i get wrong output for html markdown?

About Contact Privacy policy Terms and conditions