misaf / vendra-socialite
Optional OAuth social login (Google, GitHub) for Vendra user panels, built on filament-socialite
Package info
github.com/misaf/vendra-socialite
Type:vendra-module
pkg:composer/misaf/vendra-socialite
Requires
- php: ^8.3
- dutchcodingcompany/filament-socialite: ^3.2
- misaf/vendra-support: v1.10.0
- misaf/vendra-user: v1.10.0
- spatie/laravel-package-tools: ^1.93.1
Requires (Dev)
- fakerphp/faker: ^1.24.1
- larastan/larastan: ^3.10.0
- laravel/boost: ^2.4.12
- laravel/pint: ^1.29.3
- misaf/vendra-testing: v1.10.0
- mockery/mockery: ^1.6.12
- nunomaduro/collision: ^8.9.4
- orchestra/testbench: ^11.1
- pestphp/pest: ^5.0
- pestphp/pest-plugin-arch: ^5.0
- pestphp/pest-plugin-laravel: ^5.0
- pestphp/pest-plugin-profanity: ^5.0
- pestphp/pest-plugin-type-coverage: ^5.0
- phpstan/extension-installer: ^1.4.3
README
Optional OAuth social login (Google, GitHub) for Vendra user panels, built on
dutchcodingcompany/filament-socialite.
Requiring this package is all it takes to add social login — misaf/vendra-user
has no dependency on it. Social buttons render on the login form of the panels
listed in config/vendra-socialite.php and only appear once their provider
credentials are set.
Features
- Google and GitHub login on configured Filament panels
- Existing-user sign-in by email with optional account registration
- Optional email-domain allow list
- Tenant-aware storage for linked social identities
Requirements
- PHP 8.3+
- Laravel 13
- Filament 5
misaf/vendra-supportmisaf/vendra-user
Installation
composer require misaf/vendra-socialite php artisan vendor:publish --tag=vendra-socialite-migrations php artisan migrate
The service provider registers social login on the configured Filament panels.
Configuration
Publish the package configuration and set the OAuth credentials in
config/services.php / .env:
php artisan vendor:publish --tag=vendra-socialite-config
GOOGLE_CLIENT_ID= GOOGLE_CLIENT_SECRET= GOOGLE_REDIRECT_URI=https://example.test/admin/oauth/callback/google GITHUB_CLIENT_ID= GITHUB_CLIENT_SECRET= GITHUB_REDIRECT_URI=https://example.test/admin/oauth/callback/github
Optional environment values:
VENDRA_SOCIALITE_REGISTRATION=true— allow unknown OAuth identities to create an account (defaultfalse: only existing users, matched by email, may sign in).VENDRA_SOCIALITE_DOMAINS=example.com,foo.com— restrict sign-in by email domain.
Testing
Run the package checks from the package directory:
composer test
composer analyse
License
MIT. See LICENSE.