Skip to content

Error when accessing app from Teams Application : Code flow is not supported inside an iframe #167

Description

New to teams application development, I followed the lab and able to load it in Teams WebApplication, however I am getting error when I load it in Microsoft Teams Client.

Error: {"errorCode":"redirect_in_iframe","errorMessage":"Code flow is not supported inside an iframe. Please ensure you are using MSAL.js in a top frame of the window if using the redirect APIs, or use the popup APIs. (window.parent !== window) => true","subError":"","name":"BrowserAuthError"}

I am sure this must be something very simple to resolve.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions