CORS error will trying to login using social login

Your problem
My problem is: I faced this error will login using social logins option

Blocked a frame with origin “mautic.Domain.com” from accessing a cross-origin frame."

These errors are showing in the log:

Steps I have tried to fix the problem:

I’m trying to add the “Domain.com” to available domains in CROS setting