Services Plugins FAQs

Firebase Service Account Plugin - No admin rights to change user details

@levon
I have started exploring using your Firebase Service Account Plugin. https://docs.zeroqode.com/plugins/firebase-service-account-plugin

I am able to signup users, change passwords (when using generated user token etc).

However my understanding is that by using the admin SDK (Manage Users  |  Firebase Documentation) that an admin should be able to change a users email, password or delete them, without a users consent. This is in the google documentation.

Am I doing something wrong, or does this plugin lack that functionality? Currently I have to generate tokens through the user. Specifically what idToken for admin should I be using in the attached screenshot? Should I have anything the "Service Account Auth (json) input? (see screenshot.)

Thanks. Screen Shot 2021-02-08 at 9.28.36 PM

Hi @mikeyt0078,

Thanks for reaching out. Our plugin does come with the feature to change the email and password of your users. You can use the Set User Email/Password action on this matter.

Please make sure to refer to our docs, to make sure everything is configured properly, and check our demo app setups, to replicate the workflows if you will.

Best,
Alex

Hi Alex,
Sorry but that wasn’t my question. I have worked through your demo and documentation thoroughly.

I am not looking for the user to change the password or email, but to allow an admin to do this.

You have to create a token from the user which you can then use to let them change their password. However, an admin does not have this token, as it is generated through the user’s input.

So for instance what would happen if the user has forgotten their password, there is no reset functionality that I can see. So an admin through the sdk would be able to do this, but not without a token?

Hi @mikeyt0078,

Thanks for feedback. Sorry for misleading, you are right. This feature implies changing the email and password as a User and not as an Admin, unfortunately.

We’ll consider your inputs and add this feature to the roadmap feature list to see how feasible it is to add in future updates as plugin improvements. :pray:

Best,
Alex

You should also consider rewriting then your documentation which is also misleading.

1 Like

Thanks @mikeyt0078,

We’ll make sure to take care of our docs as well so it is not misleading.

Alex