Skip to content

User accounts & sign-in

Sign-in, sign-up & email verification

The front door every published app ships with.

Signing in

Your app's users are your Tadabase app's users — the same accounts, the same roles. The scaffolded app ships a sign-in page that calls tada.login(username, password); on success a session is stored and the user lands in the app.

ts
const { data } = await tada.login(email, password);
if (data?.type === 'success') navigate('/dashboard');

tada.isAuthed() tells you whether a session is active; a <Protected> route wrapper bounces signed-out users to the sign-in page.

Self sign-up

If your app allows public registration, turn on enableSignup in tada.config.json and the sign-up page appears. Registration is two steps — create a pending account, then verify by email:

ts
await tada.signup(name, email, password);   // pending account
// user clicks the link in their email →
await tada.verifyEmail(tokenFromLink);       // account activated
// then they can tada.login(...)
Ready to build

Skip the docs.
Just describe it.

Tadabase AI builds it, hosts it and keeps it running. Real backend, real domain, real app.

Start Building