Set "loginPage" as first page without adding the page to navigation menu

Im sure someone created a workaround by creating a two paged page with a function to request login/signup when the user opens the app for the first time. This is so that the Login page does not appear in the navigation menu and only comes up when the user is not signed.

So when someone taps the firstpage (home) in the navigation menu it does not lead them back to the login page but back to a dashboard/home page.

Is there another way to do this? Am I able to hide certain pages?

Hi @Xavier_Lee, check out these resources:

Our article on authentication:

This one uses Bubble, but the diagram is pretty good for an explanation of the different login flows:

You can use the Global canvas page’s “App Launched” event to first check if the device has a token saved, and then use “Dismiss inital view” right after that to not display the login/signup views at all for a logged in user.

1 Like

Thank you! this seems to be what I was looking for. :smiley: :smiley:

1 Like