There comes a time when your bubble project will use authentication for users and you come across the question, how to protect my home page and other pages from unauthenticated users. By default all the page is visible, so if google crawl your pages then they are visible for everybody. So in this short tutorial I show you two settings to make your pages fully protected.
Protect pages
You have two pages at least when you create a new web application in Bubble. One is the index page and the other where login, sign up and forgot password functionality is, I call this page auth. (If you want to know how to put these three auth functionality on one page,leave a comment)

Index page
Create a new workflow on the page and use the page is loaded event, then apply a condition current user is logged out. Then add an event to go to page auth.

Auth page
Create a new workflow on the page and use the page is loaded event, then apply a condition current user is logged in. Then add an event to go to page index.
Final note: don’t forget to copy this workflow events to your other pages as well.
Leave a Reply