SCIM User Provisioning - Entra ID, Azure AD, Okta and OneLogin SCIM 2.0 Provisioning
by Modvanta https://modvantaapps.tech/$ 48.86

SCIM User Provisioning for Odoo 19
Someone joins in Entra ID or Okta and gets an Odoo login with the right access. They change team, their rights follow. They leave, and their Odoo account is archived and their open session ends. Nobody in IT has to remember to do it in Odoo too.
Written and supported by Modvanta - modvantaapps@gmail.com
What it does
One directory per identity provider, each with its own token.
A SCIM 2.0 endpoint in Odoo Users and Groups with filters, paging, create, PUT, PATCH and delete, plus ServiceProviderConfig, ResourceTypes and Schemas. Your provider talks to /scim/v2. | Entra ID and Okta both work Entra sends Replace with paths and booleans as text, Okta sends path-less values and member filters. Both styles are read the same way. | Groups become access rights Map a SCIM group name to Odoo groups. Members get them, people who leave the group lose them. Rights you gave by hand are left alone. |
Leavers are really out Deactivation archives the user, which ends the open session at the next click. Granted groups and API keys can be removed too. | Admins stay out of reach Settings and Access Rights cannot be mapped unless you tick an explicit option, and an administrator account can never be changed over SCIM. | A log of every call Status, IP, what changed and the request itself, with passwords and tokens replaced by stars. Refused and failed calls are logged too. |
Screens
Taken on an Odoo 19 test database after real SCIM calls to it.
One directory per identity provider
Entra ID for staff as internal users, Okta for a partner portal as portal users, each in its own company if you run several.

The token is shown once
Copy the tenant URL and the token into your provider. Odoo keeps only a SHA-256 fingerprint, so a database dump does not leak it. Regenerate or revoke it at any time.

Group mappings
The SCIM group "Odoo Contact Managers" gives the Contact / Creation right. Default groups go to everyone the directory creates.

Security settings
IP allow-list, requests per minute, allowed e-mail domains, and what happens when someone leaves.

Setup guide in the form
Steps for Microsoft Entra ID, Okta, OneLogin or any other SCIM 2.0 client, next to the URL you need to paste.

Simulate a request
Send a sample create, PATCH or filter query and see the exact answer your provider would get. It is rolled back, so nothing changes.

Provisioned users
Job title, department, SCIM groups and status as the identity provider sent them. A deactivated user stays visible and greyed out.

SCIM groups and their members
Members are pushed by the provider. The Odoo groups they receive are shown on the group.

Every call in the log
Created, updated and listed calls, a duplicate refused with 409, a user from a domain you did not allow refused with 400, and a wrong token answered with 401.

Passwords never reach the log
Okta sends a password with each new user. It is not stored on the user and it is replaced by stars in the log.

On the Odoo user
A SCIM Provisioning tab shows which directory manages the user and which groups it granted.

How it works
| 1 | Install the module and open Settings, Users and Companies, SCIM Provisioning, Directories. |
| 2 | Create a directory, pick the provider, choose internal or portal users and press Generate Token. |
| 3 | Paste the tenant URL and the token in Entra ID, Okta or OneLogin and test the connection there. |
| 4 | Add group mappings, assign people and groups in your provider and start provisioning. Watch the SCIM Log as the first users arrive. |
FAQ
Compatibility and support
Tested on Odoo 19.0 Community. It depends only on base and web and needs no extra Python package.
Questions before you buy, or something not working? Write to modvantaapps@gmail.com.
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 1849 |
| Technical Name |
mdv_scim_provisioning |
| License | OPL-1 |
| Website | https://modvantaapps.tech/ |
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module