Options to Host Universal Login in an iFrame

Overview

This article explains a potential cause and solution for the following error when using iFrame with an application built in Angular and passed through the Microsoft Teams app using the contentURL.

https://{tenant}.us.auth0.com/' refused to connect in the MS Teams tab application.

Applies To

  • New Universal Login
  • iFrame
  • Clickjack Protection Migration

Cause

The "Clickjacking Protection for Universal Login Change" migration setting was toggled, but the New Universal Login is used, which cannot be hosted in an iFrame. Please see  Clickjacking Protection for Universal Login Change for more details.

Solution

Switching to Classic Universal Login will allow this to work as long as "Clickjacking protection" is disabled in the Migrations section of the Tenant Settings.

Recommended content

No recommended content found...