Skip to content

Instantly share code, notes, and snippets.

@kanapuli
Created October 26, 2017 00:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kanapuli/947f192bee1029919a1fe9b6da0da643 to your computer and use it in GitHub Desktop.
Save kanapuli/947f192bee1029919a1fe9b6da0da643 to your computer and use it in GitHub Desktop.
package authentication
//config.go has all the configuration constants
//The following has the slack constants
const (
slackClientID = "6XXXXXXXXXXXXXXXXOOOOOOOOOOOOOOO"
slackClientSecret = "xxxxxxxxxxxxa2ffexxxxxxxxxxxxxxx"
slackAuthURL = "https://slack.com/oauth/authorize"
slackTokenURL = "https://slack.com/api/oauth.access"
)
//The following has the slack variables declaration
var (
slackScopes = []string{"identity.basic"}
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment