Module OAuth
OAuth | |
---|---|
Numero/ID of module | |
User doc. of module | This page |
Developer doc. of module |
Introduction
The OAUth module is a technical module that allow you to create and manage OAuth2 connections with an external system. Alone this module is useless. But once you have created OAuth2 connections, you can reuse them in some other modules, for example:
- for SMTP email sending
- for the EMail collector
- for some external modules
- for the Google SSO authentication (see Authentication,_SSO_and_SSL#googleoauth)
Installation
This module is included with the Dolibarr distribution, so there is no need to install it.
External documentation
This is some documentation on how to setup your external system to allow an OAuth2 connection
For Microsoft
See https://afterlogic.com/mailbee-net/docs/OAuth2Office365NonInteractive.html and https://learn.microsoft.com/fr-fr/exchange/client-developer/legacy-protocols/how-to-authenticate-an-imap-pop-smtp-application-by-using-oauth
Tutorial to register an application and create a secret ID:
A thread in forum is also available related to use of OAuth2 for SMTP and IMAP: https://www.dolibarr.org/forum/t/oauth-office-365-and-email-collector/23437