Skip to content

SmartAuth

active GPL-3.0-or-later

CAP-REL verified editor

Latest stable version announced: 2.0.78, on December 3, 2026

Your Dolibarr accounts become the credentials of all your applications: tokens for mobile apps, an OAuth2/OpenID Connect server for single sign-on, machine-to-machine access and phone pairing by QR code.

Overview

Your users already have a Dolibarr account. Yet every application you add around the ERP asks for its own directory, its own passwords and its own leaving procedure. SmartAuth makes Dolibarr the single authentication point of your mobile applications, your third-party services and your server-to-server exchanges: a colleague arriving or leaving is handled on a single user record.

SmartAuth is also the foundation of the SmartMaker applications: it serves them the Dolibarr data through an API that respects the rights of each user, offline included thanks to synchronization.

The module is for organizations running a mobile application, a customer portal or an in-house service next to their Dolibarr, and no longer willing to manage two lists of accounts.

Features

  • Tokens for mobile applications: one access token and one refresh token per device, renewed at each use
  • OAuth2 / OpenID Connect server: Dolibarr becomes the identity provider of WordPress, Nextcloud or any compatible application, with PKCE for public clients
  • Machine-to-machine access (client credentials) for exchanges between servers, with no user interaction
  • Pairing by QR code: a Dolibarr workstation already logged in shows a short-lived QR code, the phone reads it and receives its tokens after confirmation, without typing a password
  • One device, one token family: a lost phone is revoked on its own, without logging out the others, and the reuse of a stolen token cuts the whole family
  • Rate limiting against brute force, per IP address and per account
  • Email alert when an account is used from an unknown IP address or device
  • External users (customer portal, subcontractors) limited to the data of their own company, as in Dolibarr
  • Self-service registration and forgotten password, the password being chosen from the confirmation email
  • Dashboard, authentication logs and a SmartAuth tab on the user record, so that everyone sees and cuts their own sessions
  • Eight languages: French, English, German, Spanish, Italian, Dutch, Polish and Portuguese (Portugal and Brazil)

Documentation

Sheet translations: Deutsch, English, Español, Italiano, Nederlands, Polski, Português

Announcements

SmartAuth 2.0.54: security audit and fixes

A full audit of the module was followed by a series of fixes: administration pages partitioned by permission and by entity, CSRF and XSS protection, visibility rules applied to synchronisation, stronger session revocation. Password reset now also keeps a member's two identities in step.

Screenshots 6

Follow this project

Get an e-mail as soon as a version of this project is announced, security fixes included.

No account to create, no password. Every email carries a link to stop them all.

RSS feed - JSON feed