Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
MarkToovey
Contributor
Contributor

Build a simple web app ... Tutorial

Hi ,

Hoping someone can help  .. I'm new to this but tried building this app but i'm getting a message : "returnto not included in web integration whitelist" after it reroutes me to a login page but before it displays a login prompt ..

Can anyone shed any light on this ? 

Thanks

 

 

 

 

Labels (3)
4 Replies
AndreeHansson
Employee
Employee

Hi! In your management console where you created the web integration, click edit and at the bottom in the allow list you add the domain you run your web app on, e.g. http://localhost:8080 - the reference to returnto is a query parameter generated by the script from the tutorial where the user should be redirected after a successful login. If that domain isn't added to the allow list it won't redirect the user because of security reasons.

MarkToovey
Contributor
Contributor
Author

Hi ,

Thanks for the response but i'd already done that .. 

MarkToovey_0-1668593526930.png

 

Any other suggestions I can try ?

Thanks again  ..

 

 

stefanstoichev123

From the screenshot i can see that you've added localhost to the "content security policy".

What Andree is referring to is the "Web" section in the console

 

stefanstoichev123_0-1668594288530.png

 

You should have record there with the web integration id, that is used in the web app. Edit the web integration and add "http://localhost:8080" to the "Allowed origin"

 

stefanstoichev123_2-1668594444907.png

 

Stefan

 

 

 

MarkToovey
Contributor
Contributor
Author

Thank you so much  .. That worked  ..