Skip to content

Latest commit

 

History

History
23 lines (22 loc) · 701 Bytes

README.md

File metadata and controls

23 lines (22 loc) · 701 Bytes

Setup

To use this you'll have to first acquire your clientId & clientSecret from https://api.slack.com/apps then make sure that you also set your redirect URL to http://YOUR-HUMHUB.com/user/auth/external?authclient=slack or it won't work.

return [
    // ...
    'components' => [
        // ...
        'authClientCollection' => [
            'clients' => [
                // ...
                'slack' => [
                    'class' => 'humhub\modules\user\authclient\Slack',
                    'clientId' => 'Your App ID here',
                    'clientSecret' => 'Your App Secret here',
                ],
            ],
        ],
        // ...
    ],
    // ...
];