mix ash_authentication.add_strategy.slack (ash_authentication v5.0.0-rc.8)

Copy Markdown View Source

Adds Slack OAuth authentication to your user resource

Example

mix ash_authentication.add_strategy.slack

Options

  • --user, -u - The user resource. Defaults to YourApp.Accounts.User
  • --accounts, -a - The accounts domain. Defaults to YourApp.Accounts
  • --identity-field, -i - The field used to identify the user. Defaults to email
  • --team-id - Optional Slack team ID to restrict sign-in to a specific workspace

Summary

Functions

igniter(igniter)

Callback implementation for Igniter.Mix.Task.igniter/1.