Author Topic: SETTING UP A MIRCROSOFT ACCOUNT ON ROUNDCUBE  (Read 5146 times)

Offline hindra1546

  • Jr. Member
  • **
  • Posts: 12
SETTING UP A MIRCROSOFT ACCOUNT ON ROUNDCUBE
« on: November 04, 2023, 05:10:09 AM »
Hey everybody .
I want to ask if somebody now how to connect microsoft account on roundcube please
The account is uzing the restriction in MICROSOFT AZURE : Active Directory (Entra ID), and when i try to use the imap and smtp for office 365 which is the office.365.com......, etc
I'm unable to connect on the account that i should set up in roundcube .

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,856
Re: SETTING UP A MIRCROSOFT ACCOUNT ON ROUNDCUBE
« Reply #1 on: November 04, 2023, 06:55:43 AM »
I think basic authentication is now disabled by default on o365 so probably you need to setup. Have a look at https://github.com/roundcube/roundcubemail/wiki/Configuration:-OAuth2 and at the comments in the Roundcube config file where there is a o365 example.
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more…

Offline hindra1546

  • Jr. Member
  • **
  • Posts: 12
Re: SETTING UP A MIRCROSOFT ACCOUNT ON ROUNDCUBE
« Reply #2 on: November 06, 2023, 02:41:21 AM »
Thanks for you responses,
I have a questions for this : 'https://<your-roundcube-url>/index.php/login/oauth as redirect URL'
My application is not on the web, i mean it's locally using laragon and nginx at this addresses : http://10.128.130.13:8181/rc/
How can i configure the OAUTH in the azure according to that please?

Offline hindra1546

  • Jr. Member
  • **
  • Posts: 12
Re: SETTING UP A MIRCROSOFT ACCOUNT ON ROUNDCUBE
« Reply #3 on: November 06, 2023, 02:57:28 AM »
Azure entra ID configuration for the OAUTH

Offline hindra1546

  • Jr. Member
  • **
  • Posts: 12
Re: SETTING UP A MIRCROSOFT ACCOUNT ON ROUNDCUBE
« Reply #4 on: November 07, 2023, 07:22:35 AM »
I'm unable to connect through the servers

Offline Dmitry42

  • Full Member
  • ***
  • Posts: 232
Re: SETTING UP A MIRCROSOFT ACCOUNT ON ROUNDCUBE
« Reply #5 on: November 07, 2023, 09:45:29 AM »
Thanks for you responses,
I have a questions for this : 'https://<your-roundcube-url>/index.php/login/oauth as redirect URL'
My application is not on the web, i mean it's locally using laragon and nginx at this addresses : http://10.128.130.13:8181/rc/
How can i configure the OAUTH in the azure according to that please?

You must use external IP

Offline hindra1546

  • Jr. Member
  • **
  • Posts: 12
Re: SETTING UP A MIRCROSOFT ACCOUNT ON ROUNDCUBE
« Reply #6 on: November 08, 2023, 01:07:43 AM »
So the application URI is necessary for configuring the RoundcubeOAUTH application in the Microsoft Azure ??
Or we can still config the RoundcubeOAUTH application without an URI for my roundcube that runs in my laragon and nginx server locally ?

Offline Dmitry42

  • Full Member
  • ***
  • Posts: 232
Re: SETTING UP A MIRCROSOFT ACCOUNT ON ROUNDCUBE
« Reply #7 on: November 08, 2023, 10:23:33 AM »
I don't know exactly. Im not setup OAUTH. May be im wrong.


Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,856
Re: SETTING UP A MIRCROSOFT ACCOUNT ON ROUNDCUBE
« Reply #8 on: November 08, 2023, 12:58:50 PM »
I am not familiar with OAUTH but I'm guessing it uses similar principles to SAML in which case all the redirects are done on the client side and so setting it up with your internal IP will not be a problem. Azure may require HTTPS though, I'm sure it will give you some feedback on the settings page when you add your URL.
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more…

Offline hindra1546

  • Jr. Member
  • **
  • Posts: 12
Re: SETTING UP A MIRCROSOFT ACCOUNT ON ROUNDCUBE
« Reply #9 on: November 09, 2023, 01:46:10 AM »
It's kinda hard to connect the microsoft work account in roundcube because it's managed in the Microsoft Azure Entra ID.
Microsoft personnal account is working correctly but the work account is more difficult