Integrations: oauth configure
integrations_oauth_configureSave OAuth client ID and secret for a provider, enabling it for the project by default. Pass use_social_sign_in to offer social sign-in; disable to switch it off.
Instructions
Set the OAuth client ID + secret for a provider. Saves the client ID and secret of an OAuth app the user created at the provider and enables it for the project (disable saves it switched off). Each run replaces the previous settings, so social sign-in turns off unless use_social_sign_in is passed again. Afterwards users connect from the dashboard or with integrations_oauth_connect. It changes or deletes existing data, so check with the user before running it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| disable | No | Save the credentials but mark the provider disabled | |
| provider | Yes | Provider key (e.g. slack, google, github) | |
| client_id | No | OAuth client ID for this tenant. Prompted if omitted. | |
| client_secret | No | OAuth client secret. Prompted (hidden) if omitted. | |
| use_social_sign_in | No | Also expose this provider as a social sign-in option for end users |