Skip to main content

slack external-auth add

Initiate the OAuth2 flow for a provider in your app

Synopsis

Initiate the OAuth2 flow for a provider in your app

slack external-auth add [flags]

Examples

# Select an app and provider to initiate the OAuth2 flow for
$ slack external-auth add

# Initiate the OAuth2 flow for the provider and app
$ slack external-auth add -p github

Options

  -h, --help              help for add
-p, --provider string the external auth Provider Key to add a secret to

Options inherited from parent commands

  -a, --app string           use a specific app ID or environment
--config-dir string use a custom path for system config directory
-e, --experiment strings use the experiment(s) in the command
-f, --force ignore warnings and continue executing command
--no-color remove styles and formatting from outputs
-s, --skip-update skip checking for latest version of CLI
-w, --team string select workspace or organization by team name or ID
--token string set the access token associated with a team
-v, --verbose print debug logging and additional info

See also

  • slack external-auth - Add and remove external authorizations and client secrets for providers in your app