Closed Bug 1859654 Opened 1 year ago Closed 8 months ago

Implement Exchange Autodiscover as Rust component

Categories

(Thunderbird :: General, enhancement)

enhancement

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: leftmostcat, Unassigned)

References

Details

The existing Autodiscover implementation contains several significant limitations in functionality and is insufficient for the needs of implementing full Exchange support. We will build a Rust service which replaces the current JS implementation and is sufficient to serve EWS support as well as current use cases.

Blocks: 1859656

Which functionality are you lacking?

We're already implementing autodiscover in the account creation dialog, in JS. It's run as part of automatic account config detection, an integral part of the dialog.

All information that you need from autodiscover for EWS is the EWS URL, and we already read that out and capture it in the AccountConfig class, and it's written into server preference ews_url during account creation. Owl uses the information from Autodiscover to create accounts. I'm sure it would be easy to extend to allow it to create an EWS account directly in Thunderbird.

I don't see what you would need that you're lacking, given that Owl is able to create accounts with that information.

https://searchfox.org/comm-central/source/mail/components/accountcreation/modules/ExchangeAutoDiscover.sys.mjs
https://searchfox.org/comm-central/source/mail/components/accountcreation/modules/CreateInBackend.sys.mjs#127

Owl is able to create accounts with that information.

@Sean: ping

Flags: needinfo?(leftmostcat)

With adjustments to configuration discovery and adding OAuth2 support to Autodiscover, we were able to get account creation working.

No longer blocks: tb-ms-exchange, 1859656
Status: NEW → RESOLVED
Closed: 8 months ago
Flags: needinfo?(leftmostcat)
Resolution: --- → WONTFIX
See Also: → 1887991
You need to log in before you can comment on or make changes to this bug.