firebase-admin-node icon indicating copy to clipboard operation
firebase-admin-node copied to clipboard

Support updating custom claims in updateUser()

Open brettwillis opened this issue 1 year ago • 2 comments

Closes #1876

Summary

Currently, the custome user claims can be updated with setCustomUserClaims(), and the user details can be updated with updateUser(). Both use same /accounts:update REST API under the hood.

This allows account and claims info to be updated in one hit using the updateUser() method.

brettwillis avatar Aug 22 '22 21:08 brettwillis