Skip to main content

uniac auth login

uniac auth login
Opens a browser to complete OAuth, captures the returned JWT on http://127.0.0.1:8976/callback, and writes it to ~/.uniac/auth.json (mode 0600). Flags:
FlagBehavior
--host <host>Override the auth host (default uniac.ai).
--no-browserPrint the URL instead of opening one; complete sign-in on another device.
--manualPaste a token directly instead of using the loopback callback.
The auth host can also be set via the UNIAC_AUTH_HOST env var.

uniac auth status

uniac auth status
Prints the signed-in user (sub, email) and the token’s expires_at.

uniac auth token

uniac auth token
Prints the raw bearer token for use in scripts. Treat as a secret.

uniac auth logout

uniac auth logout
Deletes ~/.uniac/auth.json.