SSO Integration doesn't work in iFrame

we have a SSO integration with a 3rd party vendor. It works fine when tested on any browser but it fails in iFrame and redirects to auth0 login page.