#Firebase createAccount and other methods' security
3 messages · Page 1 of 1 (latest)
even if the method it's private, anyone could access it or just rewrite a copy. Also anyone could just call the API directly.
You need to define roles, i.e. only admins can create new users.
See https://firebase.google.com/docs/auth/extend-with-blocking-functions?hl=en&%3Bauthuser=0&authuser=0&gen=2nd#blocking_registration_or_sign-in for explanations on how to block user creations.