Exchange Oura OAuth Code
oura_exchange_codeExchange an Oura OAuth authorization code for local tokens stored securely with 0600 permissions. Tokens never leave your machine.
Instructions
Exchange an Oura OAuth authorization code for local tokens. Tokens are stored locally with 0600 permissions and are never returned.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | OAuth authorization code, or a full redirect URL containing ?code=... | |
| response_format | No | markdown |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| token_path | Yes | ||
| scope | No | ||
| expires_at | No | ||
| note | Yes |