[firebase_auth] Allow setting displayName on creation of account #7969
Unanswered
Minituff
asked this question in
Feature request
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to use Firebase Cloud Functions to create a user account in my Firestore database when a user signs up. The only trigger available in Cloud Functions is when a user is created (docs here). The problem is, I can only create a user with a username and password-- a displayName cannot be provided.
Therefore, this cloud function will be triggered with no displayName provided.
Below is the source code from the firebase_auth package, where you can see there is no option to add the displayName on creation of a user.
It would be nice if you could add an optional displayName to this function so that the Cloud Function can have the information needed.
Beta Was this translation helpful? Give feedback.
All reactions