meeting-room-booking-system / mrbs-code

MRBS application code
Other
120 stars 58 forks source link

office 365 Authentication #3292

Open jberanek opened 1 year ago

jberanek commented 1 year ago

Since Microsoft have turned off basic authentication we cannot authenticate to MRBS it says unknown user. I have tried setting changes however this is still the case. With authenticate via

// 'auth_imap_php' configuration settings $auth["imap_php"]["hostname"] = "outlook.office365.com"; // You can also specify any of the following options: // Specifies the port number to connect to $auth["imap_php"]["port"] = 993; // Use SSL $auth["imap_php"]["ssl"] = TRUE; // Use TLS $auth["imap_php"]["tls"] = false; // Turn off SSL/TLS certificate validation $auth["imap_php"]["novalidate-cert"] = true

Reported by: *anonymous

Original Ticket: mrbs/support-requests/2607

jberanek commented 1 year ago

It looks from this article that you can get basic authentication re-enabled once per protocol, which will take you up to the end of December.

In the meantime we'll probably need to come up with an OAuth solution for MRBS.

Original comment by: campbell-m

jberanek commented 1 year ago

... though using Microsoft's OAuth is generally reckoned to be a complete nightmare. See for example this discussion on PHPMailer. And also #2116, #1959 and #1901.

Original comment by: campbell-m