I have embedded an iframe in Angular like this
@Component({
selector: 'a-selector',
template: `<iframe *ngIf="true" [src]="'https://stackoverflow.com/examplewebsite/login' | safeUrl" style="width: 100%; height: 100vh;" scrolling="no" frameborder="0"></iframe>`,
styleUrls: ['./a.component.css']
})
export class AComponent implements OnInit {
...
constructor(...) {...}
ngOnInit() {...}
Iframe is loaded properly, and working properly(I have to log in in it) in Firefox, but not logging in in Chrome There are some errors in console HTML code 401