Skip to content
MyAppBuilder

Authentication

10 pages

Guides

Authentication overviewAuthentication lets people sign in to your app : customers who view their own orders, staff who manage jobs, partners who upload documents. Once sign-in is on, every visitor is either signed in with a role or a public visitor, and your pages, components and data rules decide whatCustomize sign-in, sign-up and password screensEvery app comes with ready-made Sign in (/login), Sign up (/signup), Forgot password (/forgot-password) and Choose a new password (/reset-password) screens. You can make them yours in two ways:Email verificationEmail verification makes sure a new account really belongs to the address typed at sign-up. When it is required, people must click a confirmation link in their email before their first sign-in.Google sign-inWith Google sign-in, people click Continue with Google and use their Google account instead of a password. Your app needs its own Google OAuth client; MyAppBuilder stores its id as a plain variable and its secret as an encrypted secret.Magic link sign-inA magic link lets people sign in with one click from their inbox — no password to remember. The visitor types their email, receives a Sign in to … email (with your app's name) and clicks the button; they are signed in on the spot.Password resetPeople forget passwords. Your app handles it with two built-in screens: Forgot password (/forgot-password), which emails a reset link, and Choose a new password (/reset-password), which the link opens. Signed-in users can also change their password at any time on /account.Profile and accountEvery app with sign-in has a built-in Your account screen at /account. Signed-in users open it by clicking their name in the navigation. It shows who they are and lets them change their name and password and sign out. The User Profile component offers the same inside your own pagProtected pagesA protected page can only be opened by signed-in users, optionally limited to certain roles. Visitors who are not signed in are sent to the sign-in screen and brought back afterwards; signed-in users of the wrong role see Access denied .SessionsA session is what keeps a person signed in between page views. When someone signs in to your app, the server creates a session and the browser stores a cookie for it. The session lasts 30 days unless the person signs out, is disabled, or resets their password.Sign-up and sign-inYour app comes with ready-made Sign in (/login) and Sign up (/signup) screens. They use whichever methods you enabled and need nothing built. If you want sign-in inside your own page design, drop the Login Form component anywhere.