looxis/libreworkspace-socialite-provider
最新稳定版本:v1.1.0
Composer 安装命令:
composer require looxis/libreworkspace-socialite-provider
包简介
A laravel socialite provider for libreworkspace
README 文档
README
A laravel socialite provider for libreworkspace
composer require looxis/libreworkspace-socialite-provider
Installation & Basic Usage
Please see the Base Installation Guide, then follow the provider specific instructions below.
Configure settings in .env
LIBREWORKSPACE_PROVIDER_URL=https://portal.yourdomain.com
LIBREWORKSPACE_CLIENT_ID=XXXXXX
LIBREWORKSPACE_CLIENT_SECRET=YYYYYYYYYYYYYYYYYY
LIBREWORKSPACE_REDIRECT_URI=http://yourapp.com/auth/libreworkspace/callback
LIBREWORKSPACE_GROUP=yourapp
LIBREWORKSPACE_SCOPES="openid profile email groups"
with group you can define the group a user must have in the Libreworkspace, otherwise it will throw a 403
with scopes you can define the scopes the openID response should include
Usage
You should now be able to use the provider:
return Socialite::driver('libreworkspace')->redirect();
To redirect to the authentication, and then:
$user = Socialite::driver('libreworkspace')->user()
Versioning
0.x– legacy versions including auth routes and controllers (deprecated)1.0+– pure Socialite provider without routes or login logic
统计信息
- 总下载量: 60
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-01-12