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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / SSO Enable on embeded ...
Copilot Studio
Unanswered

SSO Enable on embeded Copilot Studio Chatbot on Webapp

(3) ShareShare
ReportReport
Posted on by 6
Hi Team,
 
As per my requirement, Chatbot built on copilot studio has Aws Cognito authentication using Generic oAuth 2.  I have embed the chatbot on webapp using iframe. However, Once user sign in web app, Chatbot again asking to login which should be the expected behaivour. 
 
Can you guys please help me how i can enable SSO on embedded chatbot. 
I found the resource with Microsoft Entra Authentication. Need some help on Aws cognito authentication.
Categories:
I have the same question (3)
  • SwatiSTW Profile Picture
    809 Super User 2026 Season 1 on at
    Hello @CU20081904-0
    To enable SSO for your embedded Copilot Studio chatbot with AWS Cognito and Generic OAuth 2.0, you must use a custom canvas integration (not just an iframe).
    1. Your web app authenticates users via AWS Cognito and obtains their access token.
    2. When the Copilot agent triggers an authentication flow, it sends an OAuthCard containing a secure URL (sasUrl) through the custom canvas.
    3. Your canvas middleware intercepts the OAuthCard, extracts the sasUrl, and securely POSTs the Cognito access token to it.
    4. Copilot Studio then sets System.User.AccessToken, allowing the chatbot to perform authenticated operations in the user’s context—without showing another login prompt.

    Refer>https://learn.microsoft.com/en-us/microsoft-copilot-studio/configure-sso-3p?utm_source=chatgpt.com

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 827

#2
Vish WR Profile Picture

Vish WR 296

#3
Haque Profile Picture

Haque 251

Last 30 days Overall leaderboard