armand1m / react-with-firebase-auth

Higher-Order Component for integrating Firebase Authentication methods with a React Component through props
https://armand1m.github.io/react-with-firebase-auth/
MIT License
130 stars 31 forks source link

Custom Claims Missing #22

Closed red545 closed 5 years ago

red545 commented 5 years ago
armand1m commented 5 years ago

Hey, you still can access custom claims from the user prop of the wrapped component, but you can't set them in the browser since it is something that is only available on the Admin library and needs to be set from a server-side function call for safety reasons (otherwise you just giving your end user super powers ;))