ayi <p>authContext.login() provoque « Refused to display ‘<a href="http://login.microsoftonline.com" rel="noopener nofollow ugc">login.microsoftonline.com</a>…’ in a frame because it set ‘X-Frame-Options’ to ‘deny’ »</p>
ayi_2 <p>Microsoft ne permet pas à sa boîte de dialogue d’authentification de s’ouvrir dans un iframe. Cela fonctionne correctement dans le navigateur, mais MS Teams est implémenté sur un iframe, c’est pourquoi vous obtenez cette erreur.</p> <p>Veuillez consulter le flux d’<a href="https://learn.microsoft.com/en-us/microsoftteams/platform/tabs/how-to/authentication/auth-flow-tab">authentification Microsoft Teams pour les onglets</a>.</p> <p>Voici un lien vers un <a href="https://github.com/OfficeDev/microsoft-teams-sample-complete-node/tree/master/src/views/tab-auth">exemple de code d’authentification</a></p>