31,003
edits
Tag: 2017 source edit |
Tag: 2017 source edit |
||
| Line 71: | Line 71: | ||
This is a new method available with Dolibarr v18 to connect using OpenID Connect. | This is a new method available with Dolibarr v18 to connect using OpenID Connect. | ||
====On the Dolibarr host==== | ====On the Dolibarr host==== | ||
| Line 77: | Line 76: | ||
#Configure the authentication methods in <code>conf.php</code> (<code>/var/www/html/conf/conf.php</code>) and add <code>openid_connect</code>. For e.g.: | #Configure the authentication methods in <code>conf.php</code> (<code>/var/www/html/conf/conf.php</code>) and add <code>openid_connect</code>. For e.g.: | ||
<code>$dolibarr_main_authentication='openid_connect,dolibarr'</code> | |||
The you must set parameters and options of your openid connect service. From v21, you can enable the module OpenIDConnect to edit them. From v18 to v20, you must edit them from menu Home - Setup - Other. | |||
====Composing <code>MAIN_AUTHENTICATION_OPENID_URL</code>==== | ====Composing <code>MAIN_AUTHENTICATION_OPENID_URL</code>==== | ||
This is the main OpenID Connect authentication URL, which allows the user to log in and then be redirected back to Dolibarr. It makes use of some already existing OpenID 2.0 features. | This is the main OpenID Connect authentication URL, which allows the user to log in and then be redirected back to Dolibarr. It makes use of some already existing OpenID 2.0 features. | ||