
Choosing login options for your app
Choose the authentication methods that work best for your app and your audience. You can offer multiple ways for people to sign up, such as email, Google, or other providers, so that login stays simple, secure, and familiar. You can enable more than one login option. To choose your app’s login options:- Click Dashboard in your app editor.
- Click Settings.
- Click Authentication.
- Enable the toggle next to the relevant authentication options:
- Email and password: Allow people to create an account with their email address and a secure password.
- Google: Allow people to log in using their Google account credentials.
- Microsoft: Allow people to log in using their Microsoft credentials.
- Facebook: Allow people to log in using their Facebook credentials.
- Apple: Allow people to log in using their Apple account.
- Single sign-on (SSO): Connect an external identity provider that supports OIDC, such as Okta or your company’s identity provider, so people can log in using credentials from that provider.

Customizing the Google login
Base44 gives you 2 ways to set up Google login, so you can manage how your users experience sign-in and how your brand is displayed:- Default Google login: Fast setup using Base44’s credentials. The login window shows “Sign in with Google” and is branded with base44.com. To use this method, enable the Google authentication toggle and select Use the default Base44 OAuth.

- Custom Google OAuth: Connect your own Google Cloud client ID and secret in the Authentication panel. Your users will see your app’s domain, not “base44.com” when they sign in with Google. Custom Google OAuth is a great choice if you want full control over your login branding or need your app’s domain and messaging to appear in the Google login window. This is ideal for businesses that require a fully branded experience or need to meet enterprise requirements.

- You must be on a Builder plan or higher to use custom Google OAuth.
- To set up custom Google OAuth, you must have a payment method connected to your project in your Google Cloud Console.
- Connect a custom domain to your app.
- Go to Google Cloud Console and create a new project for your app.
- Verify your domain here.
- Set up your OAuth app by completing the following information:

- Overview: Enter your app information.
- Branding: Set up your app’s branding (learn more about branding):
- Add your logo. This must be similar to your app’s logo.
- Create a home page in your app following these guidelines.
- Create a privacy policy linked from your home page following these guidelines.
- Add a support page to your app.
- Add your domain as an authorized domain.
- Audience: Choose if your app is for internal or external use.
- Clients: Get your Client ID and Secret:
- Click Create client.
- Enter the relevant details including the following:
- Authorized JavaScript origins: Enter your app domain.
- Authorized redirect URIs: Enter
https://app.base44.com/api/apps/auth/callback
- Click Create.
- Data Access: Select the following scopes:
openidhttps://www.googleapis.com/auth/userinfo.email
- Go back to Base44 and finish setting up your custom login:
- Click Dashboard in your app editor.
- Click Settings.
- Click Authentication.
- Enable the Google authentication toggle.
- Select Use a custom OAuth from Google Console.
- Enter the relevant information from your Google OAuth app and click Update.

Once you have completed the steps above, you need to wait for Google to verify and approve which can take up to 5 days.
Collecting data at sign-up
Personalize your app experience by collecting key details from your users when they sign up. You can prompt the chat to generate a custom sign-up form that gathers information beyond just an email and password (e.g. full name, company, or role) so you can onboard people smoothly and tailor their app experience from the start. Choose where to store the data:- Users dataset: Store data securely, viewable only by app admins. This is ideal for sensitive or admin-only details.
- Connected dataset: Store user responses in a separate public-facing dataset. This is recommended for data displayed or shared in-app (like company names).
FAQs
Click a question below to learn more about authentication.Why didn't my user receive a verification or password reset email?
Why didn't my user receive a verification or password reset email?
- Ask them to check their spam or junk folders in case the email was filtered.
- Let them know it can take a few minutes for some email providers to deliver the message.
- Ask them to add app@base44.com to their safe senders or allowlist so future emails are not blocked.
- During sign up, encourage them to enter their email address in lowercase and to check for typos.
Why do people see an error when they try to log in with Facebook?
Why do people see an error when they try to log in with Facebook?
- Open Facebook and go to Settings and privacy.
- Go to Accounts Center.
- Go to Verification and then Identity confirmation.
- Complete the identity confirmation steps.
How do I show a public landing page but require login for other pages?
How do I show a public landing page but require login for other pages?
- Set your app to Public (no login required):
In your Dashboard, go to Settings → App Settings. Set App Visibility to Public (no login required). This allows anyone to see your landing page. - Create your landing page with login and sign-up buttons:
Prompt the AI to “create a landing page with login and sign-up buttons.” Make sure this is your app’s main page by selecting it under “Main Page” in your settings. - Require login for other pages:
Ask the AI to require login on all other pages and redirect visitors who aren’t logged in back to your landing page.
How are passwords managed and what happens if someone forgets theirs?
How are passwords managed and what happens if someone forgets theirs?

Can I add a logout option for my users?
Can I add a logout option for my users?

Can I create a custom authentication flow from scratch in Base44?
Can I create a custom authentication flow from scratch in Base44?
Does Base44 support external authentication providers like Kakao?
Does Base44 support external authentication providers like Kakao?

Can I customize the login screen?
Can I customize the login screen?
Why am I getting an error when I use User.login() in the Base44 SDK? What should I use instead?
Why am I getting an error when I use User.login() in the Base44 SDK? What should I use instead?
User.login(), so if you try to use it in your code, you will see an error.To log users in, always use base44.auth.redirectToLogin(nextUrl). This method sends the user to the login page and brings them back to your site after they sign in.If you are having issues with authentication, check that you are using this correct method in your app.Incorrect (will cause an error):base44.auth.redirectToLogin instead.Can I preview the signup form on my app?
Can I preview the signup form on my app?
- Publish your app.
- Open your app’s live URL in a browser.
- Go to the signup or login page.
- Complete the flow with a relevant, valid email address.
Why are users getting an 'invalid login' error?
Why are users getting an 'invalid login' error?
- Click Dashboard in your app editor.
- Click Overview.
- Under App Visibility, check the current setting.
- If it is set to Private, make sure the user has been invited. Go to Users and click Invite User to add them.
- If you want anyone to be able to sign up and log in, change the visibility to Public (Login Required).
- The user entered an incorrect email or password.
- The user has not verified their email address after signing up.
- The login session has expired. Ask the user to try logging in again.

