Skip to content
This repository has been archived by the owner on Jul 1, 2023. It is now read-only.

Commit

Permalink
r Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
dusterio committed Dec 15, 2016
1 parent 260eafc commit 789bbb6
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,18 @@ If you don't specify client Id, it will simply fall back to Laravel Passport imp
Simply run ```php artisan passport:purge``` to remove expired refresh tokens and their corresponding access tokens from the database.


## Running with Apache httpd

If you are using Apache web server, it may strip Authorization headers and thus break Passport.

Add the following either to your config directly or to ```.htaccess```:

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

## License

The MIT License (MIT)
Expand Down

0 comments on commit 789bbb6

Please sign in to comment.