Tessera docs

Launch Tessera

Launch

Auth

Providers

Sign users in with email links, passwords or OAuth providers like GitHub and Google.

Enabling providers

tessera.config.ts
export default defineConfig({  auth: {    providers: {      email: { magicLink: true },      github: { clientId: env("GITHUB_ID"), clientSecret: env("GITHUB_SECRET") },      google: { clientId: env("GOOGLE_ID"), clientSecret: env("GOOGLE_SECRET") },    },  },})

Signing in

TypeScript
await auth.signIn("github", { redirectTo: "/dashboard" }) const user = await auth.user()// user: { id, email, name } | null

OAuth

Set the callback URL in your provider’s console to https://<project>.tessera.dev/auth/callback. Preview branches get their own callback automatically.

Linking accounts

Users who sign in with two providers using the same verified email are linked to one account.

Was this helpful?

© 2026 Tessera, Inc.

Support

Status

Create a free website with Framer, the website builder loved by startups, designers and agencies.