I have 2 websites and I want to embbed one to another with automatically login. Everything goes fine when I'm using Mozilla Firefox. But when I change to Google Chrome, and access the page, It makes logoff.
Does anyone know how to workaround this problem?
I'm using Iframe tag and Angular V11.
Thank you!!
JS
this.url = this.url.replace("@user", this.user.nom_email).replace("@senha", this.user.des_senha_criptografada);
this.urlSafe= this.sanitizer.bypassSecurityTrustResourceUrl(this.url);
HTML
<iframe id="ecommerce_frame" [src]="urlSafe" frameborder="0" scrolling="yes" align="left" referrerpolicy="no-referrer-when-downgrade"></iframe>