Skip to content

t1mmen/opauth-slack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Opauth-Slack

Opauth strategy for Slack authentication.

Implemented based on https://api.slack.com/docs/oauth

Getting started

  1. 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.

  1. Create Slack application at https://api.slack.com/applications

  2. Configure Opauth-Slack strategy with at least Client ID and Client Secret.

  3. 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)

About

Slack authentication strategy for Opauth

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages