Self-Host / Server
Marry your server with a framework adapter.
A self-hosted Sendity server issues the same kind of signed result as Sendity Cloud. A framework adapter verifies that result and turns it into your application’s session.
Token verification
Point the adapter at your server URL and signing keys or discovery endpoint. The adapter must validate issuer, audience, expiry, signature and replay state before calling your user-mapping logic.
SENDITY_API_URL=https://auth.example.com/api/sendity
SENDITY_PUBLIC_KEY=app_01HX...
SENDITY_CLIENT_SECRET=sendity_secret_...
Adapter contract
Keep responsibilities separated: the server verifies incoming proofs and issues signed results; the adapter validates those results and creates framework-native sessions. Avoid leaking server internals into the browser or pushing application-session decisions into the Sendity server.