Authentication using Firebase soon found out how to treat regular users with Google accounts, but
I couldn't find a way to authenticate only the owners of a specific Gmail address that I had previously authorized with Google's OAuth.
If possible, I would like to log in with my Google account.
If it's difficult, I don't mind doing anything else.
How do I set Firebase to allow only regular users to view and administrator users to use only a few pre-registered users?
According to the explanation of this main house
https://stackoverflow.com/questions/17607101/firebase-authenticate-as-admin
signInWithCustomToken
or this is deprecated
, so it would be good to use signInAndRetrieveDataWithCustomToken
, but I don't know how to allow only certain users when I read the custom token description.
How can I allow login only to pre-configured users?
firebase authentication-authorization
Is it possible to replace the problem by saying, "We can authenticate, but we will not be able to obtain data?"
If so, it is easy to implement by setting security rules such as databases.
© 2024 OneMinuteCode. All rights reserved.