Integrations: oauth connect
integrations_oauth_connectConnect a provider account through a browser OAuth sign-in flow, opening the provider's page and listening on localhost for the callback to create the connection.
Instructions
Connect via the browser OAuth flow (starts a local listener). Opens the provider's sign-in page in a browser on this machine and waits up to five minutes for the callback on localhost (port 8745 by default), then creates the connection. A person must complete the sign-in, and the provider must first be set up with integrations_oauth_configure; for API-key providers use integrations_connect.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Friendly name for this connection (default: "<provider> connection") | |
| port | No | Local port for the OAuth callback (default: 8745) | |
| no_open | No | Don't try to open the browser automatically — just print the URL | |
| timeout | No | Seconds to wait for the OAuth callback before giving up (default: 300) | |
| provider | Yes | Provider key (e.g. slack, google, github) | |
| user_connection | No | Make this a user-scoped connection (only the current user sees it). Default: tenant-wide. |