-
Notifications
You must be signed in to change notification settings - Fork 8
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
ProConnect - User and organization mapping #158
Comments
in which ldap field/attribute the org SIRET code is supposed to be ? |
I think this point is proposed here #159 |
thanks, hadnt reached that issue yet :) |
This point needs to be done (in progress) to get a user by email (see UserApi and in gateway controls). Currently, |
Gaetanbrl
pushed a commit
to jdev-org/georchestra-gateway
that referenced
this issue
Feb 3, 2025
…queId don't match
20 tasks
Gaetanbrl
pushed a commit
to jdev-org/georchestra-gateway
that referenced
this issue
Feb 11, 2025
…queId don't match
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Context
As part of ProConnect developments,
A user authenticated via ProConnect can be automatically mapped with an existing organization according to SIRET value returned by ProConnect provider.
Therefore, many uses cases exists.
1. org exists with same SIRET
If true, we will just use existing org with same SIRET.
User will be a attach to this existing org.
2. org exists with an other SIRET
In this case, we will create a new organization with this SIRET.
To create a new one, we will reuse ProConnect informations requested from
/userinfo
(org LABEL and SIRET).User will be a attach to this new org.
Only an administrator will be able to update this new org informations.
3. User exists and SIRET match with an other organization
If a user is find by email in geOrchestra, it can be possible to get different organization between ProConnect and geOrchestra.
We always consider ProConnect as source of truth.
Consequently, the SIRET provided by ProConnect will be the user's new organization.
If the targeted organization doesn't exists, user will need to create a new one (see step 2 and step 4).
4. org doesn't exists (no SIRET exists in geOrchestra)
In this case, we will create a new organization with this SIRET as step 2.
User will be a attach to this new org.
The text was updated successfully, but these errors were encountered: