Line 52:
Line 52:
<br />
<br />
−
==googleauth==
+
==googleoauth==
−
This method is still in development and is not yet available
+
This method is still experimental with version 18+.
−
<br />
+
+
* You must first create an OAuth ID clients into the Google console https://console.cloud.google.com/
+
+
* Then enable the module OAuth on Dolibarr.
+
* Into the setup of the module, you must create an OAuth entry for provider Google and label "Login" (no other label will works).
+
* Enter the client ID and secret ID, choose the scope "openid" and "email"
+
* Edit the file conf/conf.php and set $dolibarr_main_authentication to "googleoauth"
+
+
Now try to login. You must enter your Google account and you will be able to login without password if and only if a user exists into the database with the email address of your Google account.
==openid==
==openid==