kiln_signin
Start Kiln sign-in via OAuth by returning a verification URL for the user's browser. Poll with the device code until the status is no longer pending.
Instructions
Start a Kiln sign-in via OAuth.
Returns a URL the user can open in their browser to sign in
with Google / Apple / GitHub. Relay the ``verification_uri``
to the user and then call ``kiln_signin_poll(device_code)``
every few seconds until the status is no longer ``"pending"``.
Response fields (all strings unless noted):
* ``verification_uri`` — URL to open in the browser; the
``user_code`` is already embedded as a query param so the
user typically doesn't have to type anything.
* ``user_code`` — the short human-readable code
(``KLN-ABCD-EFGH``); show it only as a fallback in case
the verification URL didn't pre-fill it.
* ``device_code`` — secret; pass to ``kiln_signin_poll``,
never show to the user.
* ``interval`` (int) — seconds to wait between polls
(default 2).
* ``expires_in`` (int) — seconds the code is valid for
(900 = 15 minutes).
A free Kiln account adds a cloud design library with share
links plus the free monthly allowance of Kiln's hosted
tools. Free tier — no license key required; this is the
very first call an unauthenticated user makes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||