Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
JoseMi78
Contributor
Contributor

angular10 validation to get the ticket request

Hi,

   I need to integrate iframe object using a proxy to not validate the iframe contains to another portal, my questions if it's some angular 7/8/9/10... to make the post call to validate the cookies needed to show properly the iframe object in another portal. 

    Do we have some way to use an admin user default account to allow the request post call and get the ticket number in the GUI environment directly?.

do you know if its possible to insert as param in the iframe call the user / password validation for the access at the iframe data?.

That its my example call data html for the iframe call

Url call (works):

https://qsqadigital.lhinside.com/iFrame/single/?appid=17710d8e-fcea-4fb7-85f0-c93222be2b8d&obj=znVpZ...

 
Angular SRC param for the iframe call
html code:
 <!-- <iframe class="TX268" id="MyIFrame" [src]="urlTX268" allowfullscreen sandbox="allow-same-origin allow-scripts allow-popups allow-forms" target="_parent" style="border:none; overflow:hidden"    frameborder="0" allowTransparency="true"></iframe>-->
 
Ts file SRC parameter for the iframe call: 
// "this.urlTX268 = this.sanitizer.bypassSecurityTrustResourceUrl('https://qsqadigital.lhinside.com/iframe/single/?appid=17710d8e-fcea-4fb7-85f0-c93222be2b8d&obj=znVpZ....'+ this.getWeekYear() + "-" + (this.getWeek()-1+'&select=Plant%20Code,'+ localStorage.getItem('code'));"
 
This no works because don't get the cookie needed for the call of the iframe for another domain
 

Thanks.

0 Replies