v0.1.0 — macOS, Linux & Windows

NIA Auth CLI

Manage OAuth clients, inspect tokens, and authenticate from your terminal. One command to install.

$curl -fsSL https://niaauth.com/cli/install.sh | sh

Installs to ~/.nia/bin — no sudo required. macOS, Linux, and Windows (arm64 & x86_64).

nia
$

Commands

Every command supports --json for machine-readable output and --domain for custom instances.

/loginAuthenticate via browser — opens a device code flow
/logoutClear stored credentials
/whoamiShow current user, roles, and organization
/statusCheck server connectivity and OIDC configuration
/clients listList all OAuth clients
/clients createCreate a new OAuth client with flags
/clients get <id>Show full details for a client
/clients rotate-secret <id>Rotate a client's secret
/tokens inspect <jwt>Decode and inspect any JWT
/updateUpdate CLI to the latest version
Browser Sign-In
Opens your browser, catches the callback on localhost, and stores tokens securely. Device code fallback for headless environments.
Auto Token Refresh
Expired tokens are refreshed automatically. No manual re-authentication needed.
Cross-Platform
Pre-built binaries for macOS, Linux, and Windows — ARM64 and x86_64. Checksum-verified installs.

Get started in 30 seconds.

1.curl -fsSL niaauth.com/cli/install.sh | sh
2./login
3./whoami