Question regarding SSO

if the bot created in Yellow.AI is to be hosted on a website as a widget. The website uses authentication from an Azure AD based provider. Now form within the bot, we are connecting to an API which requires a Bearer JWT for authentication. This token is to be passed on from the website where it is hosted and in turn is used in the API call from the bot.
Any ideas on how this scenario could be handled using Yellow AI bot?

If you have the token on the website on page load, you can pass the value from the website into the widget using the bot payload and set this value inside the bot flow for using it within the bot for an API call