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

Add scopes to cred-manager client only if they are not already defaulted in CE installation #455

Closed
jgomer2001 opened this Issue Jul 12, 2018 · 1 comment

Comments

Projects
None yet
3 participants
@jgomer2001
Contributor

jgomer2001 commented Jul 12, 2018

About this script
https://github.com/GluuFederation/community-edition-setup/blob/version_3.1.3/static/extension/client_registration/CredManager.py

If the underlying installation has one (or more) of [profile, clientinfo, user_name] as default scopes, the whole registration process fails and this is shown in oxauth log:

Caused by: com.unboundid.ldap.sdk.LDAPException: The provided LDAP attribute oxAuthScope contains duplicate values

We need to add only the ones required to avoid the duplicate attribute problem.

@jgomer2001 jgomer2001 added this to the 3.1.4 milestone Jul 12, 2018

jgomer2001 added a commit that referenced this issue Jul 13, 2018

jgomer2001 added a commit that referenced this issue Jul 13, 2018

@jgomer2001 jgomer2001 closed this Jul 13, 2018

@natt-tester

This comment has been minimized.

natt-tester commented Aug 17, 2018

Tests for 3.1.4 will require gluu-server-ext-3.1.4. We'll start as soon as we release the extension.

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