add_sso_credential
Add social login credentials for OAuth providers (Google, Facebook, GitHub, etc.).
Args: provider: OAuth provider name (e.g., "google", "facebook", "github") client_id: OAuth client ID from provider console client_secret: OAuth client secret from provider console project_key: Project key (tenant ID). Uses global tenant_id if not provided is_enable: Whether to enable this SSO provider (default: True) redirect_uri: OAuth redirect URI (optional)
Returns: JSON string with SSO credential save result
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| audience | No | http://localhost:3000 | |
| provider | Yes | ||
| client_id | Yes | ||
| is_enable | No | ||
| project_key | No | ||
| redirect_uri | No | http://localhost:3000/login | |
| client_secret | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |