DEV Community

Discussion on: Securing your express/Node.js API with Firebase auth

Collapse
 
emeka profile image
Nwakwoke Patrick Nnaemeka

I dont think you are allowed to set custom claims while you are still creating a user. Create the user first, then set a custom claim.