Pre requisites

This package requires you to install Laravel Passport prior to use it


To install run

composer require joselfonseca/lighthouse-graphql-passport-auth

ServiceProvider will be attached automatically

Run this command to publish the migration, schema and configuration file

php artisan vendor:publish --provider="Joselfonseca\LighthouseGraphQLPassport\Providers\LighthouseGraphQLPassportServiceProvider"

Add the following env vars to your .env from the oauth_clients and the password grant client


You are done with the installation!