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

This package is not auto-updated.

Last update: 2024-04-28 02:21:52 UTC


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"

Credits: