Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Vasyl
Contributor
Contributor

Access to XMLHttpRequest has been blocked by CORS policy during configuring of JWT authorization

Hello, we are trying to configure JWT access to Qlik Sense single app based in iframes on our application pages. 

I created a JWT virtual proxy and it works fine if manually add proper header to request. 

But when trying to access the Qlik sense on our application pages using JWT it returns:

Access to XMLHttpRequest at 'https://<ourQlikHubLink>' from origin 'https://<ourAppLink>' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: Redirect is not allowed

 I added our app URL to "Access-Control-Allow-Origin" and added it to WhiteList as described here  -https://support.qlik.com/articles/000061992 

But still we see this error about access 

Labels (4)
1 Reply
Andre_Sostizzo
Digital Support
Digital Support

@Vasyl, is the developed portal application sending the requests to http and relying on Qlik Sense's redirect to https? Or perhaps there's a reverse proxy in between and/or an alias is being used for Qlik Sense instead?

Some reference to related content:

https://support.qlik.com/articles/000038606

Help users find answers! Don't forget to mark a solution that worked for you! If already marked, give it a thumbs up! 🙂