Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[auth_oidc] Self-registration of users #748

Open
madduck opened this issue Jan 15, 2025 · 0 comments
Open

[auth_oidc] Self-registration of users #748

madduck opened this issue Jan 15, 2025 · 0 comments

Comments

@madduck
Copy link

madduck commented Jan 15, 2025

Is your feature request related to a problem?

At the moment, to onboard a new user, the following steps are required:

  1. Creation of user in the OIDC provider
  2. Creation of equivalent user in Odoo, which sends them an email invitation
  3. The user must accept the invitation
  4. … and log in using SSO.

This is cumbersome and error-prone.

Describe the solution you'd like

When a user uses OIDC to log in to Odoo, and there is no corresponding user account, an Odoo user should be created on the fly, using data from the OIDC claims.

Ideally, I would be able to limit this "self-registration" to certain claim values, i.e. only allow users with email addresses matching e.g. *@example.org.

Additional context

WikiJS does this exceptionally well:

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant