Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set user roles on creation of accounts and login as a user (impersonate) user experience for only admins .. #293

Open
mufarrah opened this issue Dec 5, 2024 · 0 comments

Comments

@mufarrah
Copy link

mufarrah commented Dec 5, 2024

I'm the owner of the firebase account so i have access to the service account. I was wondering is it possible to set user roles on creation of user accounts ?? and then check if the user role is an admin, then i can allow the user to login as another user for helping and providing support to users ??

I have setup the authentication code from the starter template , but i would like to know if there was a sample code or some code snippets to help achieving the above use cases ??

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant