April 2018
Intermediate to advanced
284 pages
6h 43m
English
In the Firebase Admin SDK, we can apply custom claims using the setCustomUserClaims() method, which comes built-in with Firebase:
admin.auth().setCustomUserClaims(uid, {admin: true}).then(() => {});