OfficeDev / Office-Add-in-samples

Code samples for Office Add-in development on the Microsoft 365 platform.
MIT License
752 stars 804 forks source link

Issue with login popup with Outlook Client. Authentication popup not closed with Outlook Client #84

Closed abhsha closed 3 years ago

abhsha commented 4 years ago

Login(Authentication) pop is not closing in Outlook Client. Same scenario worked fine in Outlook web app with Chrome,Edge.

Specifically observed with Outlook Client. Assuming due to "Office.context.ui.messageParent" not returning Error/Success data to parent window.

*Expected behavior**

Popup should close as user is authenticated.

Environment

davidchesnut commented 3 years ago

Hi @abhsha,

I'm sorry for the late response on this issue. Can you confirm if you are still seeing this behavior? Also can you confirm if this is the sample where you see the bug behavior? https://github.com/OfficeDev/PnP-OfficeAddins/tree/main/Samples/auth/Outlook-Add-in-Microsoft-Graph-ASPNET

I see the popup auth dialog closing correctly. So please let me know if I'm looking at the correct sample, or if I need to follow any specific steps to reproduce the behavior.

Thanks! David

ghost commented 3 years ago

This issue has been automatically marked as stale because it is marked as needing author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. Thank you for your interest in Office Add-ins!

ghost commented 3 years ago

This issue has been closed due to inactivity. Please comment if you still need assistance and we'll re-open the issue.