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
| Short | Long | Required | Description |
|---|---|---|---|
-n | --name | yes | Name of identity provider, must be unique |
-e | --enabled | yes | True if identity provider should be enabled, otherwise false |
-cid | --clientId | yes | ServiceClient ID, provided by provider |
-cs | --clientSecret | yes | ServiceClient secret, provided by provider |
-t | --type | yes | Type of provider, available are 'google', 'microsoft', 'facebook' |
-asr | --allowSelfRegistration | no | Allow self registration (default: true) |
-dgid | --defaultGroupRtId | no | Default group RtId for new users |