I have two separate react applications, one is a frontend for users and the other one is an admin panel with a little custom CRM system. We use firebase for the sign up and authentication and we authorize the user on Nodejs backend. The problem is that I'm not sure how would I separate the administrators from the regular users. I know I can add custom claims in firebase, but that would mean that when the user signs-up on the admin panel, he would be able to login on the frontend or vice versa, essentially creating a shared account?
I thought about creating a new firebase project to authenticate admins, but it seems like a messy solution due the fact that we want to use firebase storage that's going to be accessed from both admin panel and frontend and it will probably be hard to write permissions. Another option would be generating random emails on the backend and saving them to the firebase as the user signs up on the admin, but that seems a bad idea too.
Previously we used a custom auth solution and basically stored users and administrators separately in the database.
TLDR
How do I separate user and administrator accounts, preferably without creating a new project as I would like to use firebase storage that's gonna be used by both admin panel and user application?