web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / Generic OAuth : Custom...
Copilot Studio
Unanswered

Generic OAuth : Custom App : User language

(1) ShareShare
ReportReport
Posted on by
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
          const postEndpoint = activity?.attachments?.[0].content.tokenPostResource.sasUrl;
 
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.
Categories:
I have the same question (0)

Under review

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.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Copilot Studio

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 265 Super User 2025 Season 2

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 240 Super User 2025 Season 2

#3
S-Venkadesh Profile Picture

S-Venkadesh 101 Moderator

Last 30 days Overall leaderboard