node.js - Can I create a federated user in firebase manually using admin authentication api? -


i've web application built using firebase. in web app, i've google, firebase, twitter signup/signin functionalities.

now want integrate api.ai agent , have seamless account linking. hence users use googel home/ assistant app mobile devices connect agent. @ stage, i'll have google account id, google email, name of user.

if user present, can send tokens required agent. if user new, want create account in firebase database. couldn't find possibility create federated account in firebase manually (from nodejs application/ cloud function)!

i know there possibility create email + dummy password account not looking for. because user registered dummy password when trying login web app, use google signin feature.

if create email , dummy password, flow not , i've force users change password , link google accounts again when come web channel!

there cli approach, can import users file. if possibility can please me how can done in cloud function?


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -