DialogFlow authenticating a User acessing a Firestore DB. How?

1 view
Skip to first unread message

Hugh Evans

unread,
Jun 8, 2019, 1:53:14 PM6/8/19
to dialogflow-enterprise-edition-users
I keep a users itinerary in a Firestore DB. I want him to be able to ask his phone assistant or Google Home to read and interact with his itinerary. How do I automatically authenticate him so he can query Firestore? He cant be speaking Usrnames and passwords out loud!

Most queries will be via his phone. Would like to do this via assistant.

Any thoughts or recomendations...

Regards,
Hugh Evans

Daniel McCarthy

unread,
Jun 10, 2019, 6:38:52 PM6/10/19
to dialogflow-enterprise-edition-users
Assuming your users have an authentication method, using Firebase Auth or something similar you can use account linking.  When your agent is copied from DialogFlow to Google Assistant you can set the intents that require authentication.  

With account linking the user will be prompted to link their Google account with your service's authentication.  Your authentication mechanism must support OAuth2. 

Reply all
Reply to author
Forward
0 new messages