palbaseDocs

API reference

Palbase Auth API

Palbase's authentication module: one shared, multi-tenant service; every project is isolated by row security in its database.

Clients reach it at their project's address, https://<ref>.<domain>, through the Palbase edge. The edge resolves the project from the host, checks the API key (apikey header: the publishable key is role anon, the secret key is role service_role), verifies a user's access token when one is sent, and forwards a signed edge identity the service trusts. A client never sends that identity itself.

Security schemes

  • ApiKeyAuth — the project's publishable or secret key. Every route except /.well-known/*, the OAuth provider callbacks and the browser steps of /oauth/authorize requires one.
  • AdminAuth — the secret key; required on every /admin/* route.
  • userJWT — the user's access token, sent as Authorization: Bearer … alongside the API key, on /auth/* routes that act on the signed-in user.

The contract itself: /openapi/auth.openapi.json

WellKnown

AdminAttest

AdminAudit

AdminSettings

AdminIntegrations

AdminHooks

AdminOAuthClients

AdminRoles

AdminServiceAccounts

AdminSessions

AdminSigningKeys

AdminSocialAuth

AdminUsers

AdminTemplates

AdminTestUsers

Auth

OAuth

Devices

Identities

Installations

Session

MagicLink

Profile

MFA

SocialAuth

PhoneAuth

HostedPages

Recovery

StepUp

Token

Transactions

TrustedDevices

WebAuthn

Consents