Login Page error - ancestor violates the following Content Security Policy directive: "frame-ancestors 'none'"

  • Which SDK this is regarding: @auth0/auth0-react
  • SDK Version: 1.4.0
  • Platform Version: Node 12.19.0

Hi,

We are using single page application (react) with auth0.
With public IP, the login page is rendered properly, but if we access the same using domain name, getting below error.

Refused to frame 'https://124.40.**.**/' because an ancestor violates the following Content Security Policy directive: "frame-ancestors ******.us.auth0.com".
.

Tried configuring “Disable clickjacking protection for Classic Universal Login” from Tenant Settings page. It didnt work.

Can you please help us?

6 Likes