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.6.0
- misaf/vendra-user: v1.6.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.6.0
- mockery/mockery: ^1.6.12
- nunomaduro/collision: ^8.9.4
- orchestra/testbench: ^11.1
- pestphp/pest: ^4.7.5
- pestphp/pest-plugin-arch: ^4.0.2
- pestphp/pest-plugin-laravel: ^4.1
- pestphp/pest-plugin-profanity: ^4.2.1
- pestphp/pest-plugin-type-coverage: ^4.0.4
- 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.
Requirements
- PHP 8.3+
- Laravel 13
- Filament 5
misaf/vendra-user
Configuration
Publish the config with php artisan vendor:publish --tag=vendra-socialite-config
and set the OAuth credentials in config/services.php / .env:
GOOGLE_CLIENT_ID / GOOGLE_CLIENT_SECRET / GOOGLE_REDIRECT_URI=https://<app>/admin/oauth/callback/google
GITHUB_CLIENT_ID / GITHUB_CLIENT_SECRET / GITHUB_REDIRECT_URI=https://<app>/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
composer test
License
MIT. See LICENSE.