User Logins & Accounts

This is your app's front door and security system for users. It lets people sign up, log in with a username and password, and log out.

Simple Protection Controls

Instead of building a complicated login system from scratch, Databutton provides one ready to go. You'll see simple toggles or shield icons 🛡️ next to your app's pages or backend functions. With a click, you can decide:

  • "This page needs a login" - Protected content for authenticated users only

  • "This feature is for logged-in users only" - Secure functionality behind authentication

  • "This page is public for everyone" - Open access without login requirements

You can disable the authentication by clicking on the ellipsis and selecting 'Disable auth'.

Disabling a protected page

Databutton handles sign-up forms, password resets, and all the behind-the-scenes security automatically. When you access a page protected with a shield, you will be prompted to sign up/login.

Databutton native authentication page

Native authentication provides:

  • User Registration: Email/password signup with validation

  • Secure Login: Session management with proper security

  • Password Management: Reset and recovery workflows

  • User Sessions: Persistent login state across app usage

  • Protected Routes: Automatic route protection for authenticated areas

Why It's Important

  • Security: Protects sensitive information in your app

  • Personalization: Allows your app to remember individual users and their preferences

  • Control: You decide who gets to see what

Last updated

Was this helpful?