i want to add login to my chatbot with webhook.I want to take username and password from user and send it to the webhook.
相关问题
- Pass custom debug information to Microsoft bot fra
- LUIS - Can we use phrases list for new values in t
- Can Dialogflow response time limit be modified?
- User Authentication in Dailogflow through third pa
- Asynchronously Respond in new Hangout Chat using r
相关文章
- How can I make http call to DialogFlow V2 using si
- Adaptive Cards in Carousel Layout in Facebook Mess
- Dialogflow, Google Account Linking and ASP.NET Cor
- Dialogflow pass parameters through NodeJS
- How to get Session Entities to work as part of Dia
- How to store and retrieve the chat history of the
- How to access Dialogflow V2 API from a webpage?
- Google Assistant flow with multiple actions_intent
I know you didn't got much search results for that
there are following approaches
If you use only Google Assistant for chatbot then use built in "Sign-in" required option and then open link https://console.actions.google.com/project/your-project-name/accountlinking/ and in that provide your required settings like
"Do you want signup ?" or "Login Only"
select type of Oauth and Implicit
Enter the endpoint url
and bingo you will get button in Google Assistant for login
If you wanna add login for web-demo use Detect Intent API then go for Account linking OAuth2 using either code flow or implicit flow but I would suggest to go for implicit flow first. there are various resourses out here for each language.
Integrating API you need a service account keys add that to your enviornment for Authentication to google apis
then use detectIntent function to get response and IMPORTANT use Unique session id
hope you got it ;-)