Skip to main content

We have implemented simple SSO for FreshDesk in our application which is backed by Asp.Net (MVC). The SSO does work for users to log into our portal. However when the 'feedback widget' is launched (popup) the following error shows up in the browser console:


Access to XMLHttpRequest at 'https://brewninja.net/FreshDeskAuth?host_url=brewninja.freshdesk.com' (redirected from 'https://brewninja.freshdesk.com/helpdesk/commons/user_companies') from origin 'https://brewninja.freshdesk.com' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: Redirect is not allowed for a preflight request.


Is there anything we can do on our end to avoid the redirect, so the CORS request passes? We do allow CORS requests on our application. So it seems the Redirect is the issue, and the redirect is coming from FreshDesk, so not sure how to fix this.