Register a client app
Create a tenant client, store its generated secret safely, then configure exact redirect URIs and allowed origins.
Developer Docs
External apps use authorization codes, exchange them for tokens, and create their own local sessions. ZeroDriveX remains the identity and token authority.
Create a tenant client, store its generated secret safely, then configure exact redirect URIs and allowed origins.
POST credentials to /api/auth/apps/[clientId]/login and redirect the user to the returned callback URL.
POST the one-time authorization code to /api/oauth/token with the exact redirect_uri and client credentials.
Call /api/auth/tokens/verify from your server using AUTH_GATEWAY_SECRET. Never verify privileged access in the browser.
POST /api/auth/apps/[clientId]/login
GET /client/auth/callback?code=...
POST /api/oauth/token
POST /api/auth/tokens/verify
POST /api/auth/tokens/refresh
POST /api/auth/tokens/revokeUse the developer guide for a step-by-step production launch path.
Open Developer Guide