Showing results for 
Search instead for 
Did you mean: 
Regular Visitor

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

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 403


Any help would be appreciated!

Super User
Super User

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:



Regular Visitor

HI @Expiscornovus 


Yes those are the exact links that i am using.



Community Support
Community Support



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:




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:




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:






Tarcisio Vilas Boas

Helpful resources

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Carousel_PP_768x460_Wave2 (1).png

2022 Release Wave 2 Plan

Power Platform release plan for the 2022 release wave 2 describes all new features releasing from October 2022 through March 2023.

Canadian Cloud 2022 768x460.png

Register for a free PVA chatbot creation workshop.

Learn how to respond rapidly to your customers and employees at scale, using intelligent conversational chatbots.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Top Solution Authors
Users online (3,158)