Browse documentation
Authentication
How devbuild login works (browser device flow), tokens, device limits and signing out.
Accounts
You sign in to the website with email and password, or with a connected provider where enabled. Free components need a signed-in account; premium components additionally need an active entitlement from a DevBuildKit license.
devbuild login: the device flow
The CLI never sees your password. It uses a browser-based device authorization flow:
- The CLI asks the API to start a device authorization, sending only the device name, platform and a machine hash.
- The API returns a short user code (like
R7XK-L92P) and a verification URL. The CLI prints the code and opens/device?code=…in your browser. - On the verification page you sign in if needed, confirm that the code matches your terminal and that the device name looks right, then choose Authorize or Deny.
- The CLI polls until you decide. On approval it receives a short-lived access token and a refresh token. On denial or expiry it exits with
FK-AUTH-003.
Codes expire after a few minutes and can be used once. If you did not start the login, deny it.
Tokens
- The access token is short-lived and sent as a Bearer token to the API.
- The refresh token is rotated every time it is used. The server stores only a hash of it.
- Expired access tokens are refreshed automatically. If the refresh token was revoked you will see
FK-AUTH-002; rundevbuild loginagain.
Devices
Each approved login registers a device under your account. A personal license is intended for use on up to three devices at a time. When you reach the limit, devbuild login fails with FK-LIC-002. Open Dashboard → CLI devices to revoke a device you no longer use. Revoking invalidates its tokens immediately.
Signing out
devbuild logout
signs out this device and revokes its tokens. You can also revoke any device from the dashboard, and changing your password signs out your other sessions.
Checking your state
devbuild whoami
prints your email, this device and the license tiers you currently hold.