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

Import the user organisation #95

Open
claudiu-cristea opened this issue Sep 10, 2019 · 0 comments
Open

Import the user organisation #95

claudiu-cristea opened this issue Sep 10, 2019 · 0 comments

Comments

@claudiu-cristea
Copy link
Contributor

claudiu-cristea commented Sep 10, 2019

Initially, on Joinup project, we've been developed some code to sync the user's organisation with the EU Login organisation value. However, lately, our PO decided that Joinup users will manage locally their organisation(s) and the field should not be overwritten by the EU Login attribute.

The sync is not straight because EU Login doesn't provide the organisation name, but the organisation domain. So, the name has to be extracted from the ECAS Schema. Also, a mechanism has to be put in place that is caching locally the ECAS Schema, so that a HTTP request on each login is avoided. But, then, the system need to ensure that the local cached schema is periodically refreshed if there are upstream changes. Finally, from all these constraints, resulted some functionality that we had to drop.

We think that, if such a functionality is required for OE Authentication module, the code that we've built (dropped lately) can be easily adapted with minimum effort. The code is contained in the revert commit: ec-europa/joinup-dev@07c5aa6

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

No branches or pull requests

1 participant