panelplace / laravel-facebook-auth-passport
Facebook Auth Request Grant for Laravel Passport - Modify from danjdewhurst/laravel-passport-facebook-login
1.0.11
2017-11-17 12:57 UTC
Requires
- laravel/passport: ^4.0
README
Install with composer... composer require panelplace/laravel-facebook-auth-passport
Versions
- Laravel 5.4 and Passport 2.0 only supported at this time
SETUP
To set the Expiry Token and Refresh Token Expiry add this 2 Line code into your Laravel .env
file
TOKEN_EXPIRY_IN = {{ Total day you want to set }} REFRESH_TOKEN_EXPIRY_IN = {{ Total day you want to set }}
EXAMPLE
TOKEN_EXPIRY_IN = 15 REFRESH_TOKEN_EXPIRY_IN = 30
*which mean the token will expired in 15 days and refresh token will expired in 30 days
Dependencies:
"laravel/passport": "^4.0"
"facebook/graph-sdk": "^5.6"