1.0.1 • Published 7 years ago

micro-slack-auth v1.0.1

Weekly downloads
1
License
ISC
Repository
github
Last release
7 years ago

micro-slack-auth

A microservice for OAuth with Slack. Shout out to Max's repo for the inspiration.

Getting Started

In order to run micro-slack-auth, you need to make sure you have your environment variables setup correctly. Make a copy of .env.example, name it .env, and update it with your Slack variables.

Here's an example:

# Your Slack application client ID
SLACK_CLIENT_ID=1234
# Your Slack application client secret
SLACK_CLIENT_SECRET=1234
# The URL to redirect a user to after they successfully connect their account
SLACK_REDIRECT=https://google.com

The result from a successful authentication is provided in the query params of the redirect.

Development

If you find an issue, feel free to open an issue.

git clone git@github.com:hcjk/micro-slack-auth.git
npm run dev

License

Copyright (c) 2017 Henry Kaufman, licensed under the MIT license. See LICENSE.md for more information.