Display API authorisation links as buttons


(Kuri) #1

Hello,

My bot is calling a service that uses Oauth2 authorisation code. Is there a way to display the authorisation request link as a button?

58%20PM


(Karthik Tadikonda) #2

Hi @pastapareo,

This can be achieved by using botkit. At on_bot_mesage section of botkit sdk, you can override the message payload with a button or quick replies payload.

You can refer to:
https://developer.kore.ai/docs/bots/sdks/installing-the-botkit-sdk/
https://developer.kore.ai/docs/bots/sdks/sdk-events/
https://developer.kore.ai/docs/bots/sdks/functions-for-the-botkit-sdk/


(Kuri) #3

Thanks @karthik.tadikonda

Will explore using the botkit sdk