Skip to content

无法关闭单点登录。 #34

@jackkam85

Description

@jackkam85

无法关闭单点登录。
'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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions