Skip to main content

AuthStatus

Gets authentication status to the configured identity services.

Examples​

Status, claims and expiry; tokens are masked:

octo-cli -c AuthStatus

Additionally prints the raw access and refresh token (secrets!):

octo-cli -c AuthStatus -st

Options​

ShortLongRequiredDescription
-st--show-tokennoPrint the raw access token, its signature and the refresh token.
Without this flag they are masked, so the output is safe for logs and transcripts

Notes​

  • --show-token (-st) prints the raw access token, the token signature and the refresh token. By default these are masked, because the output of this command ends up in scripts, CI logs and AI-agent transcripts. Use the flag only interactively when you really need the token.

  • No parameters required. Reports the JWT claims of the current access token, including an Auth Method line indicating whether the token came from the device-code flow or client_credentials. For client_credentials tokens (no sub claim), the User Info section is omitted because the token is not user-bound.