Try using admin.auth().setCustomUserClaims(uid, claims).then(() => { // Do your stuff here });. And verify the claims like admin.auth().
確定! 回上一頁