How do I create an admin User
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.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.