Download the PHP package omniglies/laravel-sso-client without Composer
On this page you can find all versions of the php package omniglies/laravel-sso-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download omniglies/laravel-sso-client
More information about omniglies/laravel-sso-client
Files in omniglies/laravel-sso-client
Download omniglies/laravel-sso-client
More information about omniglies/laravel-sso-client
Files in omniglies/laravel-sso-client
Vendor omniglies
Package laravel-sso-client
Short Description Laravel package for OAuth client using Laravel Socialite with LaravelPassport driver
License MIT
Package laravel-sso-client
Short Description Laravel package for OAuth client using Laravel Socialite with LaravelPassport driver
License MIT
Please rate this library. Is it a good library?
Informations about the package laravel-sso-client
Laravel SSO Client
A Laravel package for OAuth client implementation using Laravel Socialite with LaravelPassport driver.
Features
- Easy SSO integration with LaravelPassport OAuth server
- Automatic user synchronization from OAuth server
- Configurable user model and field preservation
- Support for Spatie Laravel Permission roles
- Artisan command for easy installation and setup
- Local and SSO logout options
Version Compatibility
| Laravel Version | Package Version | PHP Version | Branch | Status |
|---|---|---|---|---|
| 12.x | ^12.0 | ^8.2 | main | Active Development |
| 11.x | ^11.0 | ^8.2 | 11.x | Active Maintenance |
| 10.x | ^10.0 | ^8.1 | 10.x | Active Maintenance |
| 9.x | ^9.0 | ^8.0 | 9.x | LTS / Security Fixes |
Installation
Via Composer
Laravel 12.x (Latest)
Laravel 11.x
Laravel 10.x
Laravel 9.x
Quick Setup
Run the installation command to automatically configure everything:
This command will:
- Publish configuration files
- Publish database migrations
- Configure required services
- Update EventServiceProvider
- Add environment variables template
Manual Installation
-
Publish the configuration:
-
Publish migrations:
-
Run migrations:
- Add to your
.envfile:
Configuration
config/sso-client.php
Usage
Routes
The package automatically registers these routes:
GET /sso/redirect- Redirect to OAuth serverGET /sso/callback- OAuth callback handlerPOST /sso/logout- SSO logout (logs out from both local and OAuth server)POST /sso/local-logout- Local logout only
In your views
User Service
Access the SSO user service for advanced operations:
Database Schema
The package adds these fields to your users table:
oauth_id- Unique OAuth user IDusername- Username from OAuth serveroauth_data- JSON field storing all OAuth user datasynced_at- Last sync timestampis_active- User active status
Requirements
This package supports multiple Laravel versions with different requirements:
Laravel 12.x (main branch)
- PHP ^8.2
- Laravel ^12.0
- Laravel Socialite ^5.0
- SocialiteProviders LaravelPassport ^4.0
Laravel 11.x (11.x branch)
- PHP ^8.2
- Laravel ^11.0
- Laravel Socialite ^5.0
- SocialiteProviders LaravelPassport ^4.0
Laravel 10.x (10.x branch)
- PHP ^8.1
- Laravel ^10.0
- Laravel Socialite ^5.0
- SocialiteProviders LaravelPassport ^4.0
Laravel 9.x (9.x branch)
- PHP ^8.0
- Laravel ^9.0
- Laravel Socialite ^5.0
- SocialiteProviders LaravelPassport ^4.0
License
MIT License
All versions of laravel-sso-client with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.2
illuminate/support Version ^12.0
laravel/socialite Version ^5.0
socialiteproviders/laravelpassport Version ^4.0
illuminate/support Version ^12.0
laravel/socialite Version ^5.0
socialiteproviders/laravelpassport Version ^4.0
The package omniglies/laravel-sso-client contains the following files
Loading the files please wait ...