Skip to main content
Every project comes with a hosted portal: sign-in, sign-up and password reset pages with your logo and colors. Send people there, or build the forms in your app.

1. Decide who can sign up

New projects are invite only. To let anyone create an account, go to Settings → Authentication and set Who can sign up to Open. See Registration modes.

2. Add the provider

The app id is safe in the browser. Your secret key is not: it stays on your server.

3. Send people to sign in

Pass 'sign-up' for the sign-up page. After signing in, people come back to Send users back to, or to your Production URL if that’s empty, both in Settings → General. KerneProvider picks up their session on its own: see Session handoff to handle a failed one. Password reset, email verification and magic link emails always open the hosted portal, even if you build your own forms.

4. Use the session

<Authenticated> shows its fallback while the session loads too. If that flash matters, check isLoading from useAuth() yourself.

Or build your own forms

register() fails with K1001 when sign-up isn’t open to this person, and K1008 when the email is taken. Every code is in Authentication. For ready-made screens instead, <AuthFlow> from @kerne/react/ui covers sign-in, sign-up and password reset in one component: see Prebuilt screens.

Next

Connect your billing provider

Sell your plans with Stripe.

Implement invite-only SaaS

Invitations, codes and the sign-up flow.