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

Parameterize OCs that passport scripts can use for user profile manipulation #1175

Closed
jgomer2001 opened this issue Oct 14, 2019 · 1 comment
Assignees
Labels
docs requires documentation to be added or updated enhancement libs update, re-factroring, etc. needs QA requires testing and QA
Projects
Milestone

Comments

@jgomer2001
Copy link
Contributor

If an attribute needs to be added/updated to the user profile and it does not belong to gluuPerson OC the operation will fail and the authentication won't proceed.

We need to parameterize the allowed OCs whether in the script or in the mapping specification itself

@jgomer2001 jgomer2001 self-assigned this Oct 14, 2019
@jgomer2001 jgomer2001 added the enhancement libs update, re-factroring, etc. label Oct 14, 2019
@jgomer2001 jgomer2001 added this to the 4.1 milestone Oct 14, 2019
@jgomer2001 jgomer2001 added needs QA requires testing and QA docs requires documentation to be added or updated labels Oct 28, 2019
@jgomer2001
Copy link
Contributor Author

jgomer2001 commented Oct 28, 2019

It suffices to do in the mapping:

module.exports = profile => {
	return {
            "objectClass": ["gluuPerson", "eduPerson"],
...

so it is a matter of updating mapping tutorial

jgomer2001 added a commit to GluuFederation/docs-ce-prod that referenced this issue Oct 28, 2019
@yuriyz yuriyz modified the milestones: 4.1, 4.2 Dec 12, 2019
@yurem yurem added this to Done in CE 4.2.0 Jan 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs requires documentation to be added or updated enhancement libs update, re-factroring, etc. needs QA requires testing and QA
Projects
No open projects
CE 4.2.0
  
Done
Development

No branches or pull requests

2 participants