-
Notifications
You must be signed in to change notification settings - Fork 198
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unexpected login popup triggered by app.initialize in New Outlook #2459
Comments
@zumbuschms - Thanks for reporting your issue. We will check this and update you soon. |
@zumbuschms I believe this was fixed last week. Can you try relaunching Outlook a few times to pick up the new version, and also include the "Client version" from the settings > general > about page if it hasn't fixed it? |
The issue still occurs and I only started to use New Outlook last week to test our app. My current version of New Outlook: You have Microsoft Outlook Version 1.2024.725.400 (Production). |
We haven't been able to reproduce this issue internally. We have many apps that call |
I was able to reproduce the popup with a simple sample application in the latest New Outlook using TeamsJS 2.26. Outlook Version: 1.2024.814.200 (Production) I've attached a zip file with the sample app and a Dockerfile to host the app in nginx. app.zip. You need to place a certificate file (cert.crt) and its private key (cert.key) in the folder config/tls to be able to build and run the Docker container. I also attached the manifest for the app: manifest.json We can reproduce the issue on multiple systems wiht multiple MS365 tenants. The affected environments: Common:
Env 1:
Env 2:
Env 3:
|
We are working on a Tab App to be added to all supported Outlook versions. The app accesses an on-prem web application via side loading the app into a Microsoft 365 tenant. As we need to support external OpenID Connect providers as well as Microsoft 365, we went for the authentication.authenticate approach and this works as expected. During initialization of our web application, we call app.initialize() and app.getContext() to retrieve the user's name as a hint for our login dialog.
Wenn calling app.initialize in New Outlook context, an Microsoft 365 login popup is shown which is unexpected, as we don't want to use signle sign on capabilities. Logging in using my Microsoft 365 credentials I get the following error message:
This only occurs within New Outlook and not within legacy Outlook or Outlook on the Web.
Really confusing about the error message is that the IDs in the error message represent Outlook on the Web (bc59ab01-8403-45c6-8796-ac3ef710b3e3) and Office 365 Exchange Online (00000002-0000-0ff1-ce00-000000000000). Our web application does not access any Microsoft and just connects to our on-prem deployed backend application.
How do we get rid of the login prompt?
Our Environment:
The text was updated successfully, but these errors were encountered: