start_oauth_flow
Initiate browser-based OAuth2 authentication to get an access token, store it as a secret, and retrieve it later with get_secret — no client credentials required.
Instructions
Authenticate a provider via browser-based OAuth2 web flow. Opens the browser for the user to log in — no client_id or client_secret needed from you. Stores the resulting access token under secret_name for use with get_secret/resolve_secret.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scopes | Yes | List of OAuth2 scopes to request (e.g. ['repo', 'read:user'] for GitHub) | |
| provider | Yes | OAuth2 provider to authenticate with | |
| secret_name | Yes | Name to store the access token under. Use this name with get_secret/resolve_secret later. | |
| token_endpoint | No | Custom token URL — only needed for okta or generic oauth2 providers | |
| authorization_endpoint | No | Custom authorization URL — only needed for okta or generic oauth2 providers |