Skip to content

[ADD] auth_admin_sso: log in as shared user via OpenID Connect - #1079

Open
divad1196 wants to merge 1 commit into
OCA:18.0from
camptocamp:18.0-add-auth_admin_sso
Open

divad1196 wants to merge 1 commit into
OCA:18.0from
camptocamp:18.0-add-auth_admin_sso

Conversation

@divad1196

@divad1196 divad1196 commented Nov 27, 2026 •

Copy link
Copy Markdown

Context

Odoo bills per internal users, so integrators often use a single user, usually admin, to access their customer instances.
This becomes cumbersome to manage/rotate the user password at scale and audit access.

Features

Members of an organization log in as the admin via OpenID Connect.
Module can be loaded server-wide and configured by environment variables only.

The instance role grants the configured default login (admin by default); a .username. role grants a specific login.

Comparison with other modules

auth_oidc

They both implement OpenID, but serve different purposes:

  • auth_oidc: 1 email == 1 user, can be configured in-app, needs to be installed
  • auth_admin_sso: N email == same user, server-wide (i.e. no installation required). This is a tool for Odoo integrators.

@divad1196
divad1196 force-pushed the 18.0-add-auth_admin_sso branch 2 times, most recently from d4afff8 to b53f903 Compare November 27, 2026 11:36
Members of an organization log in as the admin via OpenID Connect.
Module can be loaded server-wide and configured by environment variables only.

The instance role grants the configured default login (admin by
default); a <role>.username.<username> role grants a specific login.
@divad1196
divad1196 force-pushed the 18.0-add-auth_admin_sso branch from b53f903 to 3db2e27 Compare November 27, 2026 12:43
@divad1196
divad1196 marked this pull request as ready for review November 27, 2026 12:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants