https://accounts.aiveth.com.
Discovery
On a custom domain, the document names that domain as the issuer and in every endpoint.
Authorize
One of the app’s registered return addresses, matched exactly. A loopback address registered without a port matches on any port.
Space-separated. Must include
openid. Allowed: openid, email, profile, roles, groups, offline_access.none (never show a screen), login (prove it’s them now). consent and select_account are accepted. none must be alone.The longest time, in seconds, since the person last proved it’s them.
0 is the same as prompt=login.urn:aiveth:acr:2fa to require a second factor proved in this session. Unknown values are ignored.302 redirect to redirect_uri with code, iss (RFC 9207) and state. The code lasts 2 minutes and works once.
Errors: a redirect with error, error_description and state: unsupported_response_type, invalid_scope, invalid_request, access_denied, login_required, interaction_required, unmet_authentication_requirements. An unknown app or unregistered return address gets an error page, never a redirect. See Login with Aiveth.
Token
client_secret_basic) or as client_id and client_secret in the form (client_secret_post). A public app sends only client_id and must not send a secret.
DPoP: for a person’s grant, send a DPoP header to get a bound token. See DPoP.
Authorization code
Refresh token
Client credentials (machine apps)
See Machine-to-machine.
Device code
See Device login.
Other grants
Thejwt-bearer and token-exchange grants serve AI agents, server-to-server calls between your MCP servers, and connected accounts. See Agent tokens.
Answer
token_typeisDPoPwhen the token is bound to a DPoP key.id_tokenis present for person grants. A machine token has none.refresh_tokenis present only when the scope includesoffline_access.
Cache-Control: no-store. Errors are listed in Errors and limits.
Userinfo
Authorization: DPoP <access token> with a DPoP proof header.
Success: 200 with sub and the claims for the token’s scopes, as in the ID token. See Tokens and claims.
Error: 401, {"error": "invalid_token"}, with a WWW-Authenticate header. The token is unknown, expired, ended, or presented with the wrong scheme.
JWKS
Revoke
Authenticate the app as at the token endpoint. An app can end only its own tokens.
Answer: always
200 with {}, whether or not there was anything to end (RFC 7009). A wrong app or secret gets 401 invalid_client. Ending a refresh token ends the whole sign-in.
Logout
With a valid hint for this session, the person is signed out at once and redirected with
303. Without one, Aiveth asks the person first. See Logout.
Device authorization
Answer:
device_code, user_code, verification_uri, verification_uri_complete, expires_in (300) and interval (5). Device login must be turned on for the app, or the answer is unauthorized_client. See Device login.
Introspect
For AI agent tokens only (RFC 7662). The answer is
{"active": false} for any token Aiveth wouldn’t issue again now: bad or expired, an agent stopped or paused, a person who can no longer sign in. An active answer has active, token_type and the token’s sub, client_id, scope, aud, iss, exp, iat, org_id, and act when present. See Agent tokens.
App access tokens are opaque; check them at userinfo instead.