I’m a new user to Bubble. I’ve been able to create a really nice looking app for a client, but they want to restrict access to only a select group of users. Each user (about 10) would need to be setup by their admin and given a specific password. When a user opens the URL of the app, they would need to see a popup that asks them to enter one of the 10 email/password combinations before they could go any further.
Is this possible using Bubble? If so, how would I go about creating this? Is there any examples/references/videos I can leverage to help me understand how to do this? Thanks in advance.
When any page of the app is loaded, check to see if the user isn’t logged in. If so, prompt for the login credentials. Once the user is logged in, load data on the page.
You’ll have to build out an admin page where that is generated. From there, you can either input valid email addresses that can register or create the accounts yourself using “Create account for someone else”.
there’s nothing special about it, it’s just a new page in the app with controls intended for the administrator instead of the users. look into the “account” actions to see how to create accounts and the “data (things)” actions to see how to create and modify things.
for example you might create an “admin” yes/no field on thing User and check it “yes” for the site administrator. Then when someone loads the admin page have an action that redirects them to the homepage if the current user’s admin is not “yes.” once they’re on the page, create some inputs and buttons so the admin can create new authorized users.
Thanks Scott. Everything you said makes sense, but it’s beyond my set of capabilities. How difficult would it be to build an example that as you suggest, checks to see if the user isn’t logged in. If so, prompt for the login credentials. Once the user is logged in, load data on the page. I’d also need an example of the admin page to create the valid email/password combinations that I could use for the app. I would be happy to pay for your time.