-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
无法关闭单点登录。
'sso'=>[
'enable'=>false
],
无效果。
`
return [
'default' => 'admin',
'apps' => [
'admin' => [
'sso'=>[
'enable'=>false
],
'token' => [
'ssoCacheKey' => 'jwt-auth-user',
'ssoKey' => 'uid',
'uniqidKey' => 'uid',
'signerKey' => 'RvAjzUhtJs',
'notBefore' => 0,
'expiresAt' => 136000,
'refreshTTL' => 172000,
'signer' => 'Lcobucci\JWT\Signer\Hmac\Sha256',
'type' => 'Header',
'refresh' => 50001,
'relogin' => 50002,
'iss' => 'client.tant',
'aud' => 'server.tant',
'automaticRenewal' => false,
],
'user' => [
'bind' => true,
'model' => 'app\\common\\model\\User',
],
],
'wechat' => [
'token' => [
'uniqidKey' => 'uid',
'signerKey' => 'AYIB8IVcwSE',
'notBefore' => 0,
'expiresAt' => 36000,
'refreshTTL' => 72000,
'signer' => 'Lcobucci\JWT\Signer\Hmac\Sha256',
'type' => 'Header',
'refresh' => 50001,
'relogin' => 50002,
'iss' => 'client.tant',
'aud' => 'server.tant',
'automaticRenewal' => false,
],
'user' => [
'bind' => true,
'model' => 'app\\common\\model\\Member',
],
],
],
'manager' => [
// 缓存前缀
'prefix' => 'jwt',
// 黑名单缓存名
'blacklist' => 'blacklist',
// 白名单缓存名
'whitelist' => 'whitelist',
],
];
`
Metadata
Metadata
Assignees
Labels
No labels