Skip to content
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

Modern/New Outlook deeplink after authentication in browser does not open Outlook #2234

Open
gercobrandwijk opened this issue Mar 25, 2024 · 7 comments

Comments

@gercobrandwijk
Copy link

Implemented the external OAuth provider flow as described in https://learn.microsoft.com/en-us/microsoftteams/platform/tabs/how-to/authentication/auth-oauth-provider.

This works fine when using the new Teams, after the authentication flow in the browser is finished a popup is shown about opening MS Teams, after which my app is succesfully logged in.

When using the same app in the new Outlook, the authentication flow works fine till that last popup about opening an external app is shown: this popup shows that it wants to open MS Teams, which is wrong, because it should open MS Outlook. When still clicking 'Open', nothing happens.

image

TeamJS version: 2.21.0
Outlook version: 1.2024.319.300 (client version 20240315003.09)

@gercobrandwijk
Copy link
Author

gercobrandwijk commented Mar 25, 2024

As far as I can see, its a bit of the same problem as #1696, but there the issue is more specifically about Microsoft365 app on iOS.

@onmomo
Copy link

onmomo commented Mar 26, 2024

As far as I can see, its a bit of the same problem as #1696, but there the issue is more specifically about Microsoft365 app on iOS.

@gercobrandwijk
I think it's pretty much the same issue. Instead to hard code the Microsoft Teams (work or school) app url as described in the current docs, one should redirect to the url provided in hostRedirectUrl. Unfortunately, this parameter is not implemented across the board. This also happens on Windows Outlook (new) desktop app. It seems very likely that MS did not rollout support for the hostRedirectUrl parameter across their app landscapes on desktop and mobile, which basically prevents implementing external auth flow.

@jekloudaMSFT
Copy link
Contributor

Hi @gercobrandwijk, thanks for raising this. The Outlook team is still rolling out the changes that @onmomo described to resolve this issue. We'll update the external OAuth documentation and let you know on this thread when this is resolved.

@vikramtha
Copy link
Contributor

vikramtha commented Apr 4, 2024

@gercobrandwijk Unfortunately, there is not an ETA for this fix at the moment as the team is committed on Nested App Auth. For now, we will work to bring more functionality but it is probably better to rely on the Outlook Win32 client as that should work properly.

@gercobrandwijk
Copy link
Author

@jekloudaMSFT @vikramtha Thank you both for your comments.

When will the 'new' outlook be released as the standard Outlook? Currently only a few of our customers are complaining that they cannot use our app (because the login does not work) in the new Outlook, but when it is becoming the standard then ALL of our customers will have this problem, which is of course not acceptable.

This of course also applies to the other applications where it does not work correctly: #1696 (comment)

@gercobrandwijk
Copy link
Author

@jekloudaMSFT @vikramtha Is there already any update that you can share?

@krubenok
Copy link

krubenok commented May 6, 2024

Hi, I work on TeamsJS App support in Outlook - we've got this issue on our backlog and hope to resolve it soon. Unfortunately I do not have a date I can share but I can assure you that Classic Outlook for Windows support will not end until 2029 per some earlier announcements. That being said it is our intention to solve this issue in New Outlook for Windows and I hope to be able to share a more satisfying answer soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants