neosrulez / hybridauth
本包最新版本(0.1.3)没有可用的许可证信息。
Neos CMS 插件,允许使用 Google、Github 和 Facebook 登录到 Neos CMS 后端。
0.1.3
2021-02-14 16:42 UTC
Requires
This package is not auto-updated.
Last update: 2024-09-24 08:38:03 UTC
README
Neos CMS 插件,允许使用 Google、Github 和 Facebook 登录到 Neos CMS 后端。
安装
NeosRulez.HybridAuth 包已列在 Packagist 上(https://packagist.org.cn/packages/neosrulez/hybridauth) - 因此您不再需要将其包含在“repositories”条目中。
只需在 require 部分添加以下行
"neosrulez/hybridauth": "*"
Settings.yaml
您可以在 Settings.yaml 中配置所有内容
NeosRulez:
HybridAuth:
Provider:
github:
clientId: '4859d7d83243241666ca8'
clientSecret: '87384sdfsdf05cc7a9b91ee4ae2b7d2081394'
callBackUri: 'http://dev.neos1.loc/neosrulez-hybridauth-github-auth'
defaultRole: 'Neos.Neos:Administrator'
facebook:
facebookAppId: '8012324325000'
facebookAppSecret: '92f471a234234dbd3e76c045181c3'
redirectUri: 'http://dev.neos1.loc/neosrulez-hybridauth-facebook-auth'
defaultRole: 'Neos.Neos:Administrator'
google:
googleClientId: '4859d6867671666ca8'
googleClientSecret: '87384bf2fgh546459b91ee4ae2b7d2081394'
callBackUri: 'http://dev.neos1.loc/neosrulez-hybridauth-google-auth'
defaultRole: 'Neos.Neos:Administrator'