Skip to main content

AddOAuthIdentityProvider

Adds a new identity provider.

Examples

Supports Google, Microsoft, Facebook:

octo-cli -c AddOAuthIdentityProvider `
-n "Google Login" `
-t "google" `
-cid "your-client-id" `
-cs "your-client-secret" `
-e "true" `
-asr "true" `
-dgid "<default-group-rtid>"

Options

ShortLongRequiredDescription
-n--nameyesName of identity provider, must be unique
-e--enabledyesTrue if identity provider should be enabled, otherwise false
-cid--clientIdyesServiceClient ID, provided by provider
-cs--clientSecretyesServiceClient secret, provided by provider
-t--typeyesType of provider, available are 'google', 'microsoft', 'facebook'
-asr--allowSelfRegistrationnoAllow self registration (default: true)
-dgid--defaultGroupRtIdnoDefault group RtId for new users