An open API service indexing awesome lists of open source software.

https://github.com/trycourier/registration-handler-slack

Serverless application that handles OAuth handshake and configuration of Slack apps, and stores received configuration values in a Courier profile.
https://github.com/trycourier/registration-handler-slack

Last synced: about 1 month ago
JSON representation

Serverless application that handles OAuth handshake and configuration of Slack apps, and stores received configuration values in a Courier profile.

Awesome Lists containing this project

README

          

# Courier: Slack Registration Handler

This service lets your users connect your Courier account to their Slack account so that you may send them notifications directly to Slack.

[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy)

## Usage

Point users at `/api/register?recipient=` to begin the registration process; at the conclusion the provided recipient ID will be reachable via Slack using Courier.

## Running Locally

* Run `yarn install && yarn dev`
* Set up `ngrok` (https://ngrok.com)
* Ensure your `ngrok`-generated URL is whitelisted in your Slack app
* See `env.ts` for a list of environment variables that should be set

## Scopes

* `bot` (DEFAULT) to Direct Message the user from your App
* `incoming-webhook` to send messages via Webhook to the selected channel

## License

[MIT License](http://www.opensource.org/licenses/mit-license.php)

## Author

[Courier](https://github.com/trycourier) ([support@trycourier.com](mailto:support@trycourier.com))