0

two different phone auth in a single firebase project. I am cloning a food delivery app. I want phone auth for both the user app and the vendor app. if I add phone auth in the user it assigns to the vendor app too. so I need separate phone auth for vendor and user app. then only i can get its user and vendor. so any suggestion kindly sends that. thanks in advance...

different phone auth for two apps bcz if I logged in or register in the user app, it also takes it logged in as vendor app too so I can't separate them. or I want to connect two different firebase projects where I can authenticate separately. Thanks in advance...

bhuvi war
  • 1
  • 1
  • In Firebase Authentication a user signs in to the project, not to a specific app. If you want the latter, you will have to associate the user with the app yourself - for example by storing the user role in a database or as a custom claim in their auth token. I linked some questions about the topic. – Frank van Puffelen Nov 07 '22 at 14:55

0 Answers0