By: Jay Elango user 12 Apr 2016 at 2:46 p.m. CDT

1 Response
Jay Elango gravatar
I created a group and associated member to the group. I was trying to retrieve the userInfo endpoint with the members scope. I do receive the memberof info, but wondering how i would get the group name. The memberof only holds the inum info. Is there any api that allows me to retrieve the group with tis name information? I am currently trying to access userifno as below final UserInfoClient userInfoClient = new UserInfoClient(userInfoEndpoint); userInfoClient.setRequest(userInfoRequest); final UserInfoResponse userInfoResponse = userInfoClient.exec(); memberOf=[inum=@!4D36.CD5F.E475.A5D4!0001!06C3.1F65!0003!F1BD.A407,ou=groups,o=@!4D36.CD5F.E475.A5D4!0001!06C3.1F65,o=gluu] thanks Jay

By Michael Schwartz Account Admin 12 Apr 2016 at 2:55 p.m. CDT

Michael Schwartz gravatar
The only way to do it might be to use a dynamic scope interception script. We don't really recommend using groups for access control. Its better to create a user attribute in LDAP, and pass it as a standard user claim.