Sign in with a code
login_codeSign in on machines without a browser. Get a short code and URL to open elsewhere, then poll for approval to store the token.
Instructions
Signs in where no browser can be opened on this machine — a container, a remote host. The first call returns a short code and a URL to enter it at, which the person opens anywhere; call it again to wait for the approval and store the token.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| replace | No | Sign in even though a token is already stored. | |
| waitSeconds | No | How long a waiting call polls before answering. Default 120. |