Skip to main content

cirron auth

Authenticate with Cirron, manage your API token, and check authentication status.

Usage

Subcommands

login

Authenticate with your Cirron API token. Provide the token as an option or interactively.

logout

Log out and remove your API token from the local configuration.

status

Check current authentication status, user info, and token expiry. Warns if your token is expiring soon.

refresh

Refresh your authentication token without re-entering credentials.

Troubleshooting

  • Invalid Token: If your token is invalid or expired, you’ll be prompted to re-authenticate.
  • Not Authenticated: Most project commands will fail until you authenticate. Run cirron auth login.
  • Permission denied: A command that fails with Permission denied: your role does not have the "<permission>" permission in the active organization. reached the platform signed in, but your role in the active organization lacks that permission. Signing in again won’t help. Ask an organization admin to grant the permission or change your role. The command exits with code 1, whereas Not signed in exits with code 2.
  • Switching accounts: Use cirron auth logout then cirron auth login with the new token.