Steven Liu
ยทFF Expert & Ambassador | Helping you launch your app - hundredacretech.com | youtube.com/@StevenNoCode

Free access with account creation

Resolved

Hi all!

I've been trying to find a solution to a seemingly easy problem. I have created an app where anyone can browse and see info (e.g. a marketplace) however to engage in any transaction, they need to create an account.

I tried using the FF Auth however it forces me to set an entry page and logged in page). I tried setting the 'Entry Page' as 'Home Page' but 'Home Page' cannot be both entry page and logged in page. Setting 'Login' as entry page forces the users to create an account first.

Ideally, I have a 'Home Page' (which is the landing page on app open) and user can navigate to a 'Profile Page' which will dynamically show a 'Login / Create Account Page' if they are not logged in.

Has anyone done this before? It sounds like a very common design for majority of apps out there where users can browse and then create account later (AirBnB, eBay, etc)

Thank you!

Note: I read Is User Logged In documentation and it says "While building the app, you might need to know if the user is logged in to provide certain functionality to only registered users or show/hide a few UI elements based on user is logged in or not. This property helps you build such a requirement." How is that possible if we force user to login straight away with auth?

1
9 replies