Hello all, I am building a PWA app that will run on our company's subdomain but also iOS and Android using Ionic and Capacitor. So it's all web-based JS code similar to React Native.
Currently I have authentication with Entra and our company's SSO so I have the user's token. I've also built a custom chat UI which matches our corporate branding and looks great. I have even turned off security on the bot and been able to chat with the bot inside the app. The problem occurs when I start playing with the security settings. I want to authenticate the user before they get to the chat UI and then have them be interacting with the bot without having to enter in a code or click a button to authenticate. I am trying to use the DirectLine API and I'm really unsure what is going wrong. Perhaps I should be using an npm package which eliminates much of the code? Right now I get a conversation going but sending a message almost always end up with a 404 saying can't find the conversation.
My question is, what is the flow I need POST SSO authentication to try and interface with the bot without having to further authenticate? Perhaps I'm not making the right calls with the right headers?
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.