Chrome not allowing to login on iframe tag – Angular


I have 2 websites and I want to embbed one to another with login authenticator. Everytime I tried to login into the embbeded page, pop a message: "session expired".

Does anyone know how to solve this problem?

I’m using Iframe tag and Angular V11.

Thank you!!


    this.url = this.url.replace("@user", this.user.nom_email).replace("@senha", this.user.des_senha_criptografada);
this.urlSafe= this.sanitizer.bypassSecurityTrustResourceUrl(this.url);


<iframe id="ecommerce_frame" [src]="urlSafe" frameborder="0" scrolling="yes" align="left" referrerpolicy="no-referrer-when-downgrade"></iframe>

Source: Angular Questions

Categorized as angular, iframe Tagged ,


Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Still Have Questions?

Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us