By: Sakit Atakishiyev user 30 Apr 2017 at 1:55 p.m. CDT

5 Responses
Sakit Atakishiyev gravatar
I call `/oxauth/register` `GET` method with my registered client id. but when I send request I always got ```` { "error": "invalid_client_metadata", "error_description": "The value of one of the Client Metadata fields is invalid and the server has rejected this request. Note that an Authorization Server MAY choose to substitute a valid value for any requested parameter of a Client's Metadata." } ```` I use postman to calling WS.

By Michael Schwartz Account Admin 30 Apr 2017 at 1:57 p.m. CDT

Michael Schwartz gravatar
You'll need to post the registration request for us to help you. Looking at the [docs](https://gluu.org/docs/ce/3.0.1/api-guide/openid-connect-api/#registerget) for this method makes no sense to me. The [OpenID Connect Client Reg Spec](http://openid.net/specs/openid-connect-registration-1_0.html#ReadRequest) indicates that the request should include a "Registration Access Token" I'm going to ask one of the developers about this.

By Sakit Atakishiyev user 30 Apr 2017 at 2:09 p.m. CDT

Sakit Atakishiyev gravatar
I got this error only when call `GET` method, `POST` and `PUT` methods has no errors. I will post whole registration request.

By Michael Schwartz Account Admin 30 Apr 2017 at 2:53 p.m. CDT

Michael Schwartz gravatar
Post the GET request. Did you include any registration token? For example: ``` GET /connect/register?client_id=s6BhdRkqt3 HTTP/1.1 Accept: application/json Host: server.example.com Authorization: Bearer registration_access_token ```

By Sakit Atakishiyev user 01 May 2017 at 12:35 a.m. CDT

Sakit Atakishiyev gravatar
I followed this [doc](https://gluu.org/docs/ce/3.0.1/api-guide/openid-connect-api/#registerget) ```` GET /oxauth/seam/resource/restv1/oxauth/register?client_id=@!023A.D08E.5468.D73E!0001!0EBE.B723!0008!F62D.5E95.67FA.901A HTTP/1.1 Host: cyber.gluu.info Authorization: Basic QCEwMjNBLkQwOEUuNTQ2OC5ENzNFITAwMDEhMEVCRS5CNzIzITAwMDghRjYyRC41RTk1LjY3RkEuOTAxQTphYmEyYmRlYy0zYzRhLTQ4OGYtYTU2YS1mYWQ2NzIxYThlYjA= Cache-Control: no-cache Postman-Token: 14b154c3-5b57-9f8d-adf6-39b95760e448 ````

By Sakit Atakishiyev user 01 May 2017 at 2:34 a.m. CDT

Sakit Atakishiyev gravatar
I changed authorization method and now ws return my client information