Oauth 2 in fb messenger?

(Kurt Anderson) #1

Is it possible to conduct oauth 2 using flowxo in fb messenger? I envision using this to allow the user to allow the bot to access SaaS applications which they subscribe to, and using API calls, pull information into the bot.

(Karen Barker) #2

Hi Kurt,

You’d need to do any authentication within a webview rather than directly in the bot as fundamentally any information typed into a bot is not secure. You could take the user out of the bot to login and pass a value back to the bot that states they are/aren’t now logged in. At which point you could then continue as planned to use the bot to pass information backwards and forwards.

Hope this helps. :slight_smile: