By: Rassiel Rebustillo user 11 Jan 2016 at 12:43 p.m. CST

6 Responses
Rassiel Rebustillo gravatar
It seems something is broken in latest version. I'm calling the token endpoint oxauth/seam/resource/restv1/oxauth/token as usually but now I'm getting an invalid client_id response. Please, see the screenshots https://dl.dropboxusercontent.com/u/1437542/invalid%20client/client_config.JPG https://dl.dropboxusercontent.com/u/1437542/invalid%20client/log.JPG https://dl.dropboxusercontent.com/u/1437542/invalid%20client/postman.JPG This was working before. Thanks

By Mohib Zico Account Admin 11 Jan 2016 at 1:03 p.m. CST

Mohib Zico gravatar
From 'ExtraParams' to 'clientID'... all values looks different. Which version you are using again?

By Rassiel Rebustillo user 11 Jan 2016 at 1:17 p.m. CST

Rassiel Rebustillo gravatar
it seems to be 2.4.0-2

By Michael Schwartz Account Admin 11 Jan 2016 at 1:19 p.m. CST

Michael Schwartz gravatar
It would be helpful if you could check the LDAP logs to see if there was any error there also /opt/opendj/logs Also, if you could show the ldif for this client, that would confirm any extra metadata about the client. i.e. # /opt/opendj/bin/ldapsearch -h localhost -p 1389 -D \ "cn=directory manager" -j ~/.pw -b "o=gluu" 'inum=(insert-client-id)' note the single quotes around the filter... and put the password in the file ~/.pw (and remove it when you're done).

By Rassiel Rebustillo user 11 Jan 2016 at 2:51 p.m. CST

Rassiel Rebustillo gravatar
this is a different client_id but getting the same error. Here is the ldapsearch result: https://dl.dropboxusercontent.com/u/1437542/invalid%20client/ldap%20search.JPG

By Rassiel Rebustillo user 11 Jan 2016 at 3:15 p.m. CST

Rassiel Rebustillo gravatar
Found the issue!! When copying the inum from the webpage, it was adding some trailing spaces at the beginning and the end of the inum, that's why it was saying invalid client_id

By William Lowe user 13 Jan 2016 at 12:01 p.m. CST

William Lowe gravatar
Good to hear. I'm going to close this ticket out then. Thanks.