randomstate / laravel-doctrine-firebase
Firebase User Provider integration for Laravel when using Laravel-Doctrine
dev-master
2018-02-25 11:12 UTC
Requires
- guzzlehttp/guzzle: ^6.3
- laravel-doctrine/orm: ^1.4
- lcobucci/jwt: ^3.2
This package is auto-updated.
Last update: 2024-11-16 20:10:46 UTC
README
This micro-package has the sole responsibility of integrating Firebase Auth with your Laravel app. It does not integrate directly with Firebase but instead is responsible for verifying and synchronising your users with your local database when using Laravel-Doctrine.
You should use the front-end javascript snippet (or similar library) supplied by Google to generate JWT tokens for your users that are then passed to Laravel as a Bearer token in the Authorization header.
See https://firebase.google.com/docs/web/setup for more details on integrating with your Javascript frontend.