OAuth Google Service activation

Hi,

I’m using Dolibarr 12.0.2, had setting up the module “Enable OAuth authentication” with corresponding OAuth google Id and OAuth Google Secret. Tested OK at “Token Manager” tab, message “A token was generated and saved into local database” show.

I also modified the htdocs/conf/conf.php for Google OAuth:
$dolibarr_main_authentication=‘googleoauth’;

At Google APIs and Services:

I created same user account at both Google and Dolibarr.

When I try to login at Dolibarr login page, it just show error “Bad value for login or password” and did not redirect to Google login page.

Does anyone have idea am I missing any config, or any reference that show how to integrate with Google OAuth?

Thank you.

Hi,

I just realized that Dolibarr does not support SSO / Authentication with Google OAuth.
The module OAuth is mainly for Cloud Print purpose if not mistaken.
Does anyone have solution for O365 Azure AD / Google OAuth authentication for Dolibarr?

Thanks.

Login using Google OAuth 2 is supported from Dolibarr v18 (released end of june or begin of july 2023)

1 Like

Can you tell ~ when the stable v18 will be available on SourceForce ?

A version has been pushed yesterday.