We are deploying the Custom app with the Copilot agent, and we are enabling the Generic Oauth provider for Authentication(OKTA as the identity provider).
if (activity?.attachments?.[0]?.contentType==='application/vnd.microsoft.card.oauth') {
console.log(activity);
// Extract the endpoint to which the token is posted
Once the user logs in, we get System.User.AccessToken from the custom app. It is unique for each user, we validated it via our API.
On the next step, we are prompted with a list of languages we can able to support. When the user selects a language(In the topic we set it as User.Language), it immediately reflects to other users who concurrent/simultaneously using the same custom app.
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.