Rasa bot with K2

I was trying to integrate the Rasa bot with the K2 portal, I have created an app(Azure AD) added k2 (dev), also registered one bot in azure. and then integrated that bot with Microsoft teams.

Now I want to use k2 API’s in the bot so that when the user logged in to the teams and clicks on the bot authorization should happen and should be able to access the k2 API’s

Blocks:

  1. Redirect URL - what should be the redirect URL
  2. How to authorize the users who are trying to access K2 API’s