Ueberauth.Strategy.Slack
Implements an ÜeberauthSlack strategy for authentication with slack.com.
When configuring the strategy in the Üeberauth providers, you can specify some defaults.
uid_field
- The field to use as the UID field. This can be any populated field in the info struct. Default:email
default_scope
- The scope to request by default from slack (permissions). Default “users:read”oauth2_module
- The OAuth2 module to use. Default Ueberauth.Strategy.Slack.OAuth
config :ueberauth, Ueberauth,
providers: [
slack: { Ueberauth.Strategy.Slack, [uid_field: :nickname, default_scope: "users:read,users:write"] }
]