Ueberauth.Strategy.SlackV2 (Ueberauth Slack V2 v2.0.0) View Source
Implements an ÜeberauthSlack strategy for authentication with Slack V2 OAuth API.
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"default_users_scope
- The scope to request by default from slack (permissions). Default "users:read"oauth2_module
- The OAuth2 module to use. Default Ueberauth.Strategy.SlackV2.OAuth
config :ueberauth, Ueberauth,
providers: [
slack: { Ueberauth.Strategy.SlackV2, [uid_field: :nickname, default_scope: "users:read,users:write"] }
]