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

Feature Request: The email-to-ticket parser should support M365 Modern Authentication #922

Open
wrongecho opened this issue Mar 24, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@wrongecho
Copy link
Collaborator

Currently the email-to-ticket parser uses basic authentication when connecting to the mail server via IMAP.

We have had many requests to add support for Microsoft 365 Modern Auth / oAuth to allow this feature to be natively used with M365 / Exchange Online.

@wrongecho wrongecho added the enhancement New feature or request label Mar 24, 2024
@wrongecho
Copy link
Collaborator Author

I appreciate this request is over a year old but it realistically isn't going to happen without using a different IMAP library. PHP does not natively support OAuth in it's (abandoned) IMAP library. According to this RFC, it was last updated in 2007 and PHP has now unbundled the imap library. It is liable to break at any point in the future.

We initially tried to work around this by moving to the Webklex IMAP library - this was a bit of a disaster for various reasons and we had to roll it back. I may have a look at zetacomponents/mail instead.

I would like this feature, but I think the guidance for now will just be to use an oauth2 proxy or forward mail to some incredibly lightweight mail server on the ITFlow machine.

Created in Task Flow: https://tasks.dev.itflow.org/task_details.php?task_id=56

As always, PRs welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant