# Unable to register the client error

**URL:** <https://community.forestadmin.com/t/unable-to-register-the-client-error/2183>\
**Category:** Help me!\
**Tags:** howtos, setup\
**Created:** [March 26, 2021, 3:24pm UTC](https://community.forestadmin.com/t/unable-to-register-the-client-error/2183 "2021-03-26T15:24:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nadiab](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/nadiab/32/1812_2.png) [@nadiab](https://community.forestadmin.com/u/nadiab)\
**Post date:** [March 26, 2021, 3:24pm UTC](https://community.forestadmin.com/t/unable-to-register-the-client-error/2183/1 "2021-03-26T15:24:07Z")

</div>

Hey guys,

Any idea of how can I fix the following error please (on my local environment) please ? :

```javascript
POST /forest/authentication 403 77 - 332.723 ms
[forest] 🌳🌳🌳 Unable to register the client
{
  "configuration": {
    "authorization_endpoint": "https://api.forestadmin.com/oidc/auth",
    "device_authorization_endpoint": "https://api.forestadmin.com/oidc/device/auth",
    "claims_parameter_supported": false,
    "claims_supported": [
      "sub",
      "email",
      "sid",
      "auth_time",
      "iss"
    ],
    "code_challenge_methods_supported": [
      "S256"
    ],
    "end_session_endpoint": "https://api.forestadmin.com/oidc/session/end",
    "grant_types_supported": [
      "authorization_code",
      "urn:ietf:params:oauth:grant-type:device_code"
    ],
    "id_token_signing_alg_values_supported": [
      "HS256",
      "RS256"
    ],
    "issuer": "https://api.forestadmin.com",
    "jwks_uri": "https://api.forestadmin.com/oidc/jwks",
    "registration_endpoint": "https://api.forestadmin.com/oidc/reg",
    "response_modes_supported": [
      "query"
    ],
    "response_types_supported": [
      "code",
      "none"
    ],
    "scopes_supported": [
      "openid",
      "email",
      "profile"
    ],
    "subject_types_supported": [
      "public"
    ],
    "token_endpoint_auth_methods_supported": [
      "none"
    ],
    "token_endpoint_auth_signing_alg_values_supported": [],
    "token_endpoint": "https://api.forestadmin.com/oidc/token",
    "request_object_signing_alg_values_supported": [
      "HS256",
      "RS256"
    ],
    "request_parameter_supported": false,
    "request_uri_parameter_supported": true,
    "require_request_uri_registration": true,
    "claim_types_supported": [
      "normal"
    ]
  },
  "registration": {
    "redirect_uris": [
      "http://localhost:3310/forest/authentication/callback"
    ],
    "token_endpoint_auth_method": "none"
  },
  "error": {
    "error": "invalid_client",
    "error_description": "client authentication failed"
  }
}

```

My FOREST\_AUTH\_SECRET & FOREST\_ENV\_SECRET are correctly set.

Thanks in advance for your help.

Regards,  
Nadia

---

<div class="post-metadata">

**Author:** ![GuillaumeGautreau](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/guillaumegautreau/32/557_2.png) [@GuillaumeGautreau](https://community.forestadmin.com/u/GuillaumeGautreau)\
**Post date:** [March 26, 2021, 3:32pm UTC](https://community.forestadmin.com/t/unable-to-register-the-client-error/2183/2 "2021-03-26T15:32:32Z")

</div>

Hello @nadiab,

Can you please share with us the details that were asked for in the message template?

> - Package Version:
> - Express Version:
> - Sequelize Version:
> - Database Dialect:
> - Database Version:
> - Project Name:

It will help us a lot with your issue.

Do you have more details about the error?

---

<div class="post-metadata">

**Author:** ![nadiab](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/nadiab/32/1812_2.png) [@nadiab](https://community.forestadmin.com/u/nadiab)\
**Post date:** [March 27, 2021, 1:26pm UTC](https://community.forestadmin.com/t/unable-to-register-the-client-error/2183/3 "2021-03-27T13:26:34Z")

</div>

Hi @GuillaumeGautreau

Thanks for reaching out !  
Problem solved, it was a token misconfiguration.

Thanks again  
Have a nice day
