micorksen/cas-oauth-laravel
最新稳定版本:v2.0.0
Composer 安装命令:
composer require micorksen/cas-oauth-laravel
包简介
A way to bridge an OAuth provider to a CAS-only application.
README 文档
README
cas-oauth-laravel
Configuration :
⚠️ Note: You need to add checked variables into the .env file and create a service, else, the package won't route anything.
-
CAS_PROPERTY: Property used for generating the CAS ticket (default :id) -
OAUTH_PROVIDER: Socialite driver to use. -
OAUTH_SCOPES: Scopes to use, separated with commas (default :openid,profile,email). -
OAUTH_CLIENT_ID: ID of your OAuth application. -
OAUTH_CLIENT_SECRET: Secret of your OAuth application. -
OAUTH_PARAMS: Custom args to pass to the OAuth provider, in format ofkey=value, separated with commas.
Requirements :
- Install the package using
composer require micorksen/cas-oauth-laraveland install your Socialite's driver. BOOM! You're ready to go. - Create a service in the
config/services.phpfile, like this :
return [ ... 'cas' => [ 'https://micorksen.eu/(.*)', ], ];
统计信息
- 总下载量: 30
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-only
- 更新时间: 2023-01-15