freescout-help-desk / freescout

FreeScout — Free self-hosted help desk & shared mailbox (Zendesk / Help Scout alternative)
https://freescout.net
GNU Affero General Public License v3.0
2.75k stars 468 forks source link

Connect FreeScout to Microsoft 365 Exchange #4031

Closed elg0ch0 closed 1 month ago

elg0ch0 commented 1 month ago

How can I connect FreeScout to Microsoft 365 Exchange if my Freescout instance is not accessible from the internet? This document describes how to perform oAuth authentication but requires your Freescout instance to be accessible from MS365 (setting the Redirect URI)

Environment description: PHP version: 8.2.4 FreeScout version: 1.8.71 Database: MySQL / PostgreSQL Are you using CloudFlare: No Are you using non-official modules: No

Thx

innov2e commented 1 month ago

What you're asking seems strange to me: You want connect your FreeScout to an Internet service (Microsoft 365 Exchange) whitout be connected to Internet? You cannot, the MS365 need to see the Freescout instance in order to return to it the oAuth result!

elg0ch0 commented 1 month ago

I don't want to expose publicly my Freescout instance (HTTPs) but I want it to fetch emails from MS 365

You cannot, the MS365 need to see the Freescout instance in order to return to it the oAuth result!

no option then?

freescout-helpdesk commented 1 month ago

You can try to enter local address of your FreeScout as "Redirect URI".

elg0ch0 commented 1 month ago

You can try to enter local address of your FreeScout as "Redirect URI".

What do you mean by local address? Freescout's public address? --> I want to avoid exposing it to the internet Freescout's private address? --> MS365 can not reach it (as expected)

I guess my question is more like this: Is there any option, other than using OAuth, for Freescout to fetch emails from MS365 ?

elg0ch0 commented 1 month ago

Is there any option, other than using OAuth, for Freescout to fetch emails from MS365 ? It looks like there is no other option:

Basic Authentication for Exchange online is deprecated