Share via

Other iframes do not work after integrate Microsoft Graph API

Damith Anuradha 0 Reputation points
2023-11-02T04:55:23.59+00:00

We are trying to integrate some Microsoft Service with the application we build. To do that we need to use Microsoft Graph API together with Microsoft Authentication Library to authenticate use.

I am referring the following documentation to achieve this : tutorial-v2-angular-auth-code

In the documentation, section configure-the-application-and-edit-the-base-ui in step 4 mention to add the following code app.component.html

<router-outlet *ngIf="!isIframe"></router-outlet>

This will check if the current window is in iframe or not load the application only if the window is not an Iframe. But including this ngIf will break the iframes that loads the same application in some points. Is there a possibility to place this condition *ngIf="!isIframe" other than router-outlet?

Microsoft Security | Microsoft Graph
0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.