t1mmen / opauth-slack
Basecamp strategy for Slack
0.1.1
2015-08-28 16:27 UTC
Requires
- php: >=5.2.0
- opauth/opauth: >=0.4.0
This package is not auto-updated.
Last update: 2024-12-21 17:29:11 UTC
README
Opauth strategy for Slack authentication.
Implemented based on https://api.slack.com/docs/oauth
Getting started
-
Install Opauth-Slack:
Using git:
cd path_to_opauth/Strategy git clone https://github.com/t1mmen/opauth-slack.git slack
Or, using Composer, just add this to your composer.json
:
{ "require": { "t1mmen/opauth-slack": "*" } }
Then run composer install
.
-
Create Slack application at https://api.slack.com/applications
-
Configure Opauth-Slack strategy with at least
Client ID
andClient Secret
. -
Direct user to
http://path_to_opauth/slack
to authenticate
Strategy configuration
Required parameters:
<?php 'Slack' => array( 'client_id' => 'YOUR CLIENT ID', 'client_secret' => 'YOUR CLIENT SECRET' )
License
Opauth-Slack is MIT Licensed Copyright © 2015 Timm Stokke (http://timm.stokke.me)