Memberstack CLI

Auth Providers

Manage auth providers such as Google, Facebook, GitHub, LinkedIn, Spotify, and Dribbble.

View Markdown
memberstack providers <subcommand> [options]

providers list

List configured auth providers.

memberstack providers list

Example

$ memberstack providers list
ID              Type      Name            Enabled   Client ID
sso_abc123      GOOGLE    Google Login    true      123456789.apps.googleusercontent.com
sso_def456      GITHUB    GitHub Login    false

providers configure

Configure an auth provider. Use this to set up a new provider or update an existing one.

memberstack providers configure [options]

Options

OptionDescriptionRequired
--type <type>Provider type: GOOGLE, FACEBOOK, GITHUB, LINKEDIN, SPOTIFY, DRIBBBLEYes
--name <name>Display nameNo
--client-id <id>OAuth client IDNo
--client-secret <secret>OAuth client secretNo
--status <status>Provider status: enabled, disabledNo

Enabling requires credentials

Setting --status enabled requires both --client-id and --client-secret to be provided.

Examples

# Configure a Google provider with credentials and enable it
memberstack providers configure --type GOOGLE --name "Google Login" --client-id YOUR_CLIENT_ID --client-secret YOUR_CLIENT_SECRET --status enabled

# Update the display name of an existing provider
memberstack providers configure --type GITHUB --name "Sign in with GitHub"

# Disable a provider without removing it
memberstack providers configure --type FACEBOOK --status disabled

providers remove

Remove an auth provider by its configuration ID.

memberstack providers remove <id>

Arguments

ArgumentDescriptionRequired
idProvider configuration IDYes

Example

memberstack providers remove sso_abc123

FAQ

How is this guide?

Last updated on

On this page