Use case · Mobile
JSON or gRPC over the same contracts the web app uses. No separate mobile auth flow to maintain.
Eight capabilities grouped by the buyer-side question they answer. Two halves: what the user does on the device, and what keeps the app in sync with the backend.
import { validateSession } from "@workspace/auth"
export const sessionFromDevice = (token: string) =>
validateSession(token, {
audience: "mobile",
deviceBound: true,
})The four sub-systems a mobile engineer names first. App Attest, conflict resolution, targeting query, crash correlation — all on the same typed contract as the web app.
import { verifyAttestation } from "@workspace/auth"
export const verifyDevice = (input: {
attestation: Buffer
keyId: string
challenge: string
}) =>
verifyAttestation({
platform: "apple",
...input,
})Built with the stack senior engineers ship on.
Process
Better Auth issues session tokens your native client validates against the same public keys. No separate identity store.
Drizzle models the offline cache shape on the client and the source of truth on the server. No glue code.
Observability traces from the mobile client land in the same dashboard as your web traces. Push notifications route through your existing queue.
Built on this
Production-ready starter templates, each deployed at its own URL. Used as the reference set for what the registry can ship.
Explore
Two doors
Self-serve gives you the registry and the templates. Engagement gives you the team that built it. Pick the door that fits the timeline.