Unable to autenticate on SharePoint when using tabs in a custom App

%3CLINGO-SUB%20id%3D%22lingo-sub-1023869%22%20slang%3D%22en-US%22%3EUnable%20to%20autenticate%20on%20SharePoint%20when%20using%20tabs%20in%20a%20custom%20App%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1023869%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20%3CIMG%20class%3D%22lia-deferred-image%20lia-image-emoji%22%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Fhtml%2Fimages%2Femoticons%2Fsmile_40x40.gif%22%20alt%3D%22%3Asmile%3A%22%20title%3D%22%3Asmile%3A%22%20%2F%3E%2C%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20building%20a%20teams%20app%20using%20the%20studio%20to%20wrap%20a%20set%20of%20SharePoint%20pages%20into%20an%20app.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EEverything%20works%20fine%20on%20the%20web%20client%20of%20Microsoft%20Teams%20ans%20in%20the%20Teams%20app%20if%20the%20user%20preveously%20accessed%20SharePoint%20from%20the%20Microsoft%20Teams%20context.%20On%20both%20scenarios%20the%20autentication%20cookie%20is%20shared%20between%20SharePoint%20and%20the%20App.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20a%20new%20user%20adds%20the%20app%20on%20the%20Teams%20the%20autentication%20will%20fail%20on%20SharePoint%20because%20of%20the%20login%20page%20being%20displayed%20inside%20of%20an%20iframe.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAny%20alternative%20to%20authenticate%20SharePoint%20users%20using%20custom%20Apps%20on%20Microsoft%20Teams%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1023869%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ESharePoint%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ETeams%20App%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Occasional Contributor

Hello :smile:

I'm building a teams app using the studio to wrap a set of SharePoint pages into an app. 

 

Everything works fine on the web client of Microsoft Teams ans in the Teams app if the user preveously accessed SharePoint from the Microsoft Teams context. On both scenarios the autentication cookie is shared between SharePoint and the App.

 

If a new user adds the app on the Teams the autentication will fail on SharePoint because of the login page being displayed inside of an iframe.

 

Any alternative to authenticate SharePoint users using custom Apps on Microsoft Teams?

0 Replies