g_set_code
Set an OAuth2 authorization code manually as a fallback for headless machines, using a known redirect URI.
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 |