Skip to main content
Authenticate against Azure AD with orbitra login. Credentials are cached locally and reused by every SDK client and CLI command. There are two different authentication methods: interactive browser, designed for manual user login through a browser, and device-code authentication, designed for agent-aided development. If you would like to authenticate against a specific environment and relay your credentials there, all auth commands accept --env to target a specific environment (default: prod). For browser-based user login and development, you can use either of the following authentication methods:
For automation and agents, use the two-step device-code flow: start it, hand out the URL + code, then complete it separately:
You may inspect the current session with orbitra account show or request raw access tokens with orbitra account get-token. To clear cached credentials and logout simply: