Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Attempting to login using lsclient throws an error message Unable to parse response JSON of all clients

In JAS (Jazz Authorization Server) enabled environment when running the following command an error message is reported, although user and password are correct.

>lsclient -a https://JASAuth.myhost.com/oidc/endpoint/jazzop -u [UserName]:[Password]

{
 "error" : "Unable to parse response JSON of all clients. {\"error_description\":\"You must be an administrator to complete this request\",\"error\":\"access_denied\"}"
}

We checked the user is part of the JazzAdmin group in appConfig.xml under JazzAuthServer/wlp/usr/servers/jazzop/appConfig.xml

And ldap setting are looking as expected under JazzAuthServer/wlp/usr/servers/jazzop/ldapUserRegistry.xml

However, the error message is keeping coming while listing client id or registering from Unix system.

We need to figure it out why "You must be an administrator to complete this request" message is thrown while all configuration settings are looking as expected?

0 votes



One answer

Permanent link

To get around this problem the following steps may help, at least it has helped us.

If you want to change the client id in an existing JAS registration for the same JAS (i.e. not when copying it to another JAS), you would do something like
1) Run lsclient to generate the listing,
2) Use rmclient to delete the existing registration you want to change the client id for,
3) Edit the JSON file appropriately
4) Load the new registration with ldclient
5) Edit the app's properties file to update the client id and secret.

We do not know what may have caused this issue to occurs, it could this be due to mistakenly chooses the JAS option initially on install or configure. At least these steps fix the issue and you'd be able to login without any issues.

Note : If following these steps do not work please feel free to reach out to IBM ELM Support teams.

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 7,495
× 1,325

Question asked: May 13 '20, 3:23 a.m.

Question was seen: 2,314 times

Last updated: May 13 '20, 3:25 a.m.

Confirmation Cancel Confirm