Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/t1mmen/opauth-slack
Slack authentication strategy for Opauth
https://github.com/t1mmen/opauth-slack
Last synced: 30 days ago
JSON representation
Slack authentication strategy for Opauth
- Host: GitHub
- URL: https://github.com/t1mmen/opauth-slack
- Owner: t1mmen
- License: mit
- Created: 2015-03-11T18:45:46.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-08-28T16:29:05.000Z (over 9 years ago)
- Last Synced: 2024-11-14T12:55:07.976Z (3 months ago)
- Language: PHP
- Size: 117 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Opauth-Slack
=============
[Opauth][1] strategy for Slack authentication.Implemented based on https://api.slack.com/docs/oauth
Getting started
----------------
1. Install Opauth-Slack:Using git:
```bash
cd path_to_opauth/Strategy
git clone https://github.com/t1mmen/opauth-slack.git slack
```Or, using [Composer](https://getcomposer.org/), just add this to your `composer.json`:
```bash
{
"require": {
"t1mmen/opauth-slack": "*"
}
}
```
Then run `composer install`.2. Create Slack application at https://api.slack.com/applications
3. Configure Opauth-Slack strategy with at least `Client ID` and `Client Secret`.
4. Direct user to `http://path_to_opauth/slack` to authenticate
Strategy configuration
----------------------Required parameters:
```php
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)[1]: https://github.com/opauth/opauth