Feature Request: Cloud Function should support user.sendEmailVerification() like client sdk
[Refiling for user @sun3 from https://github.com/firebase/functions-samples/issues/181] Feature Request: The ```user.sendEmailVerification()``` needs to be supported by Firebase Cloud Functions. This is available in client side but not server side. When using Cloud Functions to create new users we also need to automatically send Email Verification before new user can use our apps. This is currently as stopping block for our apps. At this point the ```user.sendEmailVerification()``` gives error that function is not found. ``` admin.auth().createUser({ email: emailAddress, emailVerified: false, password: password, displayName: '', //name, disabled: false }) .then(function (user) { // A error representation of the newly created user is returned console.log("Created Firebase User successfully with id: ", user.uid); console.log("user.emailVerified:", user.emailVerified); // Send Email Verification user.sendEmailVerification() .then(function (emailSent) { console.log('emailSent ', emailSent); }) .catch(function (error) { console.log('emailSent error ', error); }); // ... Additional code below ``` Thank you and I am open to any suggestions.
Posted by inlined on Jun 22, 2017, 10:21 PM
Tags
Related issues
Raise real-world problems, find people facing the same issue, and discuss solutions.4,500 issues0 comments
support (Sysadmin)
Support connecting to remote devcontainers (devcontainer on remote host)
Option to use Waffle menu or links displayed normally
I also attempted to package ROCM on musl.
But why is there no such pushback agains linux kernel?
OpenCode Support
Upcoming changes to the tado° API
Allow Mac users to use Apple native containerization
Support for the Containerization Framework on macOS
Feature Request: Cloud Function should support user.sendEmailVerification() like client sdk
[Refiling for user @sun3 from https://github.com/firebase/functions-samples/issues/181] Feature Request: The ```user.sendEmailVerification()``` needs to be supported by Firebase Cloud Functions. This is available in client side but not server side. When using Cloud Functions to create new users we also need to automatically send Email Verification before new user can use our apps. This is currently as stopping block for our apps. At this point the ```user.sendEmailVerification()``` gives error that function is not found. ``` admin.auth().createUser({ email: emailAddress, emailVerified: false, password: password, displayName: '', //name, disabled: false }) .then(function (user) { // A error representation of the newly created user is returned console.log("Created Firebase User successfully with id: ", user.uid); console.log("user.emailVerified:", user.emailVerified); // Send Email Verification user.sendEmailVerification() .then(function (emailSent) { console.log('emailSent ', emailSent); }) .catch(function (error) { console.log('emailSent error ', error); }); // ... Additional code below ``` Thank you and I am open to any suggestions.
Comments (0)
No comments yet. Start the discussion.