By: syed ali user 01 Nov 2017 at 9:05 a.m. CDT

3 Responses
syed ali gravatar
I have registered a client in Gluu server using OxTrust Admin UI under OPenId Connect -> Clients. The client is added successfully. While checking the client's details, I could not find the client secret and registration access token for this client. But it is available for dynamically registered clients. Could you please help me find the client secret and registration access token of manually added clients?

By valsaraj viswanathan user 03 Nov 2017 at 1:34 a.m. CDT

valsaraj viswanathan gravatar
I can see only client id in UI. There is option to set client secret & set it via UI and called authorize end point. It worked & retuned code. Using that code token end point is called but it failed with following error: ``` HTTP/1.1 401 Connection: close Content-Length: 586 Content-Type: application/json;charset=iso-8859-1 Date: Fri, 03 Nov 2017 06:29:03 GMT Server: Jetty(9.3.15.v20161220) Strict-Transport-Security: max-age=31536000; includeSubDomains WWW-Authenticate: Basic realm="oxAuth" X-Content-Type-Options: nosniff X-Xss-Protection: 1; mode=block {"error":"invalid_client","error_description":"Client authentication failed (e.g. unknown client, no client authentication included, or unsupported authentication method). The authorization server MAY return an HTTP 401 (Unauthorized) status code to indicate which HTTP authentication schemes are supported. If the client attempted to authenticate via the Authorization request header field, the authorization server MUST respond with an HTTP 401 (Unauthorized) status code, and include the WWW-Authenticate response header field matching the authentication scheme used by the client."} ``` I am also unable to find access token for this client.

By syed ali user 03 Nov 2017 at 3:55 a.m. CDT

syed ali gravatar
Yeah, the client secret can be set via the "change client secret" option in UI (OpenId connect -> Update Client). Is there a way to set or get the registration access token for manually registered clients.

By Mohib Zico staff 08 Nov 2017 at 7:27 a.m. CST

Mohib Zico gravatar
If you can access your Gluu Server's ldap. Search for specific client; it's under 'ou=clients' DN; you should have answers there.