exchange_broker_oauth_code
Exchange an OAuth authorization code for broker access and refresh tokens. Use after the user returns from the broker's authorization page to finalize authentication.
Instructions
Exchange an OAuth authorization code for broker access/refresh tokens. Call this after the user returns from the broker's authorization page.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Authorization code from the broker callback URL | |
| state | Yes | State token returned by generate_broker_auth_url | |
| redirect_uri | No |