X-Frame-Options: deny Content-Security-Policy: frame-ancestors 'none'
Even if the potential attack does not entail significant risk, it’s a good security practice to add the headers. It is also detected by security scanners, so reports from penetration testers might mention the lack of these headers.
Actions
In cases where you render the login page in an iframe, adding these headers could be a breaking change. Instead of adding these headers for all customers, therefore, Auth0 has allowed you to opt-in for these headers, which we strongly recommend you to enable. The following action is not required if you are using the New Universal Login Experience because those headers are always set in that case. To opt in to this change:- Go to Tenant Settings > Advanced Settings.
- Scroll to Migrations, and turn off the Disable clickjacking protection for Classic Universal Login setting.