Skip to main content

Notifications

Copilot Studio - General
Unanswered

SSO issue -- Request origin is not in the list of trusted origins

(0) ShareShare
ReportReport
Posted on by 8

I am using the sample from Git Hub and I get this error when I click the login button (in the bot):

 

Request origin <url to my index.html> is not in the list of trusted origins


This is what is being called: GET https://directline.botframework.com/v3/directline/session/getsessionid 403

 

Any help would be appreciated!

Categories:
  • Re: SSO issue -- Request origin is not in the list of trusted origins

    Hi,

     

    Check that even you have followed the references to configure and enable SSO on your bot, when you open your custom page that hosts your bot, you can see log in button on top right corner:

     

    tavila_0-1659727100019.png

     

    On given sample, that button would call onSignInClick function.

     

    So you can try editing your custom code to call that function on onLoad event, for example:

     

    tavila_1-1659727306756.png

     

    After that, when you just open custom page, it will pop up the log in (make sure to allow your custom page on pop up blocker) and then make SSO:

     

    tavila_2-1659727399432.png

     

     

     

  • h4tgdev Profile Picture
    h4tgdev 8 on at
    Re: SSO issue -- Request origin is not in the list of trusted origins

    HI @Expiscornovus 

     

    Yes those are the exact links that i am using.

     

    thanks

  • Expiscornovus Profile Picture
    Expiscornovus 31,139 on at
    Re: SSO issue -- Request origin is not in the list of trusted origins

    Hi @h4tgdev,

     

    Can you share the link to the specific sample you are using from GitHub?

     

    Did you by any chance follow this article and used this code sample:

    https://docs.microsoft.com/en-us/power-virtual-agents/configure-sso

    https://github.com/microsoft/PowerVirtualAgentsSamples/blob/master/BuildYourOwnCanvasSamples/3.single-sign-on/index.html

     

     

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,567

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,907

Leaderboard