Authentication

External identity providers

If your users already sign in elsewhere, keep that provider. Configure a JWKS URL, issuer, and audience, and CubiBase verifies its RS256 tokens on every request.

Configure the provider

SettingPurpose
JWKS URLWhere CubiBase fetches the provider’s public signing keys (HTTPS, cached 5 minutes)
Issuer (iss)Must match the token’s issuer claim
Audience (aud)Must match the token’s audience claim
Allowed algorithmsThe token’s alg must be allowed for the project

On every Data API request, CubiBase verifies the RS256 signature against the JWKS, checks issuer, audience, and expiry, and uses the verified sub as the user id for the transaction — so user-column policies work with your own ids.

Development tokens

While building, a development endpoint can issue an HS256 token for a user id you choose, when that issuer is enabled for the project. Use it to seed data and test policies before your real sign-in is wired up.

Plan availability

Bring-your-own-IdP (RS256 / JWKS) is available on the Pro and Business plans. The Free plan uses CubiBase Auth.

Additional resources