I’m building a website that allows users to sign-up and create their own personalized profiles, using firebase.
I want the users to be able to sign up, build their profile, and share it with others.
I’ve already created the log-in/sign-up page, a form page that lets users fill out their information, as well as its alignment to the profile itself.
The problem is that if I’ve created a profile on MY account, and a friend of mine created his profile on HIS account, and we share it with each other - each one of us sees its own profile and not other people’s profile.
In other words, the profile people see is the one that is attached to the account that is logged in, not others. Because the domain is the same.
When I send my profile URL to someone, who’s created his own profile, it loads his profile’s data instead of mine, so that everyone can only see their own profile.
This is the only solution I could think of, but I don’t know how to implement it. Do you know how can I create a custom username for each profile? So that my users would be able to share their profiles with each other easily? Or do you have a better solution?