API and machine access
OAuth clients and CLI sessions
Autessa is an OAuth 2.0 provider for your own applications: register a Public or Confidential client, send users to Autessa’s hosted sign-in page, and receive a token pair back. The Autessa CLI signs in with its own short-lived, company-scoped session, and minting credentials or changing SSO always happens in the browser, never from a script.
The problem
What problem does it solve?
A credential-minting endpoint reachable from a script is a credential-minting endpoint reachable from a stolen script. The way credentials are created matters as much as how they are used.
How it works
- 1
Register a client
API Management → OAuth Clients. Name it, choose Public (SPA or browser extension, no secret) or Confidential (server-side, secret shown once), and add redirect URIs.
- 2
Send users to sign in
Redirect to /oauth/login with your client_id and redirect_uri.
- 3
Receive tokens
access_token, refresh_token, expires_in and token_type arrive in the URL fragment. Refresh and revoke endpoints complete the lifecycle.
- 4
Sign in the CLI
autessa login mints a short-lived, tenant-scoped session, capped by your company’s maximum CLI sign-in length.
Every option
OAuth clients and CLI sessions: settings and options
| Setting | What it does |
|---|---|
| Client type | Public or Confidential. Confidential clients send their secret on refresh. |
| Redirect URIs | Where Autessa may send tokens. |
| Approval | New clients may need Autessa admin approval before use. |
| CLI session | About eight hours by default with no silent refresh; admins cap the maximum. |
Permissions
Who can do what?
| Who | What they can do |
|---|---|
| Members with API access | Register and manage OAuth clients in the browser. |
| The CLI | List the api-keys, oauth-clients and sso commands, but run none of them. |
FOR DEVELOPERS
What to know
- For unattended automation, put the work on the platform (scheduled jobs, triggers, webhooks), use a poweruser key over HTTP, or use a scoped API key. Do not wrap the CLI in a cron job.
Connections
How OAuth clients and CLI sessions connects to the rest of Autessa
Reports, policies and security questionnaires are on the Autessa Trust Center.
FAQ
OAuth clients and CLI sessions: questions
Can my app let users sign in with their Autessa account?
Yes. Register an OAuth client and redirect users to Autessa’s hosted /oauth/login page.
Why can’t I create an API key from the CLI?
Credential minting is kept behind a browser session on purpose, so a stolen script cannot mint new credentials.
Get started with OAuth clients and CLI sessions
Autessa acts as an OAuth 2.0 provider for your own apps, the CLI signs in with a short-lived company-scoped session, and minting credentials or changing SSO always needs a person in the browser.
Reports, policies and questionnaires live on the Autessa Trust Center.
100% customizable, code and all
Make Autessa Security & Compliance fully your own.
Use it out of the box, then change anything. Ask Autobot, Autessa’s AI builder, for a new field, screen, report, workflow or agent and it builds it into your copy of the app. Or open the code and edit it yourself. Nothing is locked: the app, its data and its code are yours.
Start free and make it yours