g_set_code
Sets an OAuth authorization code manually for headless machines. Use this fallback when automated authorization is not possible.
Instructions
Manual fallback: paste an authorization code obtained by opening the authorize_url with a known redirect_uri (for headless machines).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| redirect_uri | Yes | The exact redirect_uri used to get the code, e.g. http://127.0.0.1:5000 |