linkedin_start_oauth_flow
Start a browser-based LinkedIn OAuth flow to capture the callback, exchange the authorization code, and store the token locally for authenticated API access.
Instructions
Start a browser-based LinkedIn OAuth flow, capture the localhost callback, exchange the code, and store the token locally.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scopes | No | OAuth scopes to request. Defaults include OIDC profile/email and w_member_social. | |
| client_id | No | Defaults to LINKEDIN_CLIENT_ID. | |
| auth_method | No | Use client_secret for OpenID Connect. PKCE is only for non-OpenID native OAuth scopes. | client_secret |
| redirect_uri | No | Loopback redirect URI registered in the LinkedIn app. | https://example.com/auth/linkedin/callback |
| client_secret | No | Defaults to LINKEDIN_CLIENT_SECRET. | |
| timeout_seconds | No | ||
| return_access_token | No | When false, tokens are redacted from the tool result. |