You can't access this project

:warning:This is a template you must use to report issues. :warning:
You can also drag images, videos and include Preformatted text.

Feature(s) impacted

Please describe in this mandatory section the feature(s) that will be discussed in this topic.

Cannot login to forestadmin site.

Observed behavior

Please describe in this mandatory section the current behavior you observe.

Many of our team members see this “You can’t access this project” “You are not authorized to access this project” screen when trying to login.
This issue sometimes happens, and sometimes does not.
When it happens, we can open the same url in Chrome secret window and login works.

Expected behavior

Please describe in this mandatory section the behavior you are expecting.

We expect to always be able to login with correct email and password.

Failure Logs

In this optional section, please:

  • include any relevant log snippets if necessary,
  • or remove this section if left empty.

2022-02-07T19:26:22.601+02:00	OPTIONS /forest/authentication/callback?code=fJzdJEmoMKA...snip...RMhs0MBA34Cj&state=%7B%22renderingId%22%3A{some number I feel like hiding}%7D 204 0 - 0.113 ms
2022-02-07T19:26:22.860+02:00	GET /forest/healthcheck 200 - - 1.440 ms
2022-02-07T19:26:22.937+02:00	GET /forest/authentication/callback?code=fJzdJEmoMKA...snip...RMhs0MBA34Cj&state=%7B%22renderingId%22%3A{some number I feel like hiding}%7D 403 118 - 226.210 ms


Please provide in this mandatory section, the relevant information about your configuration:

  • Project name: …
  • Team name: Please check these from your internal system
  • Environment name: Production
  • Agent type & version: SQL forest-express-sequelize 8.4.10
  • Recent changes made on your end if any: …

I upgraded to forest-express-sequelize 8 recently.

Hello @mash and welcome on our community forum,

It’s pretty hard to know what is happening for now. Would it be possible please to share with me your project name.

+ Is it possible to look at your chrome dev tools → Network tab → Send me the HTTP request that is failing ? :pray:

Kind regards,

For the project name, please check my email on this community web site, and search from the forestadmin users database for the email, there should be only one project linked to this email.

This is the chrome dev tools info I got for the failing HTTP request.

Request URL: https://{my backend}/forest/authentication/callback?code=gJY9rDhA4P5-D{...snip...}RcNuhjp&state=%7B%22renderingId%22%3A{snip}%7D
Request Method: GET
Status Code: 403 
Remote Address: {global IP}:443
Referrer Policy: origin
access-control-allow-credentials: true
content-length: 118
content-type: application/json; charset=utf-8
date: Wed, 09 Feb 2022 20:18:54 GMT
etag: W/"76-bjhpsAdj3cq85k55+e8wn4NbUYo"
vary: Origin
x-powered-by: Express
:authority: {my backend domain}
:method: GET
:path: /forest/authentication/callback?code=gJY9rDhA4P5-{snip}IIjRcNuhjp&state=%7B%22renderingId%22%3A{snip}%7D
:scheme: https
accept: */*
accept-encoding: gzip, deflate, br
accept-language: ja,en-US;q=0.9,en;q=0.8,ja-JP;q=0.7
cache-control: no-cache
content-type: application/json; charset=utf-8
dnt: 1
pragma: no-cache
sec-ch-ua: " Not;A Brand";v="99", "Google Chrome";v="97", "Chromium";v="97"
sec-ch-ua-mobile: ?0
sec-ch-ua-platform: "macOS"
sec-fetch-dest: empty
sec-fetch-mode: cors
sec-fetch-site: cross-site
user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36

and the response body

{"error":"invalid_client","error_description":"The provided client id does not match the id received at first place."}

I can send everything to a email if that’s better.

Hello @mash,

I don’t have access to your email adresse on this website.

However I found this similar thread on our community forum, this thread show you how to set a static client id. Your issue can happen when you have multiple server instances running.

+ If you want to send me your personal informations such as email adress you can contact me at

Let me know if it helps,
Louis :slight_smile:

1 Like

Thanks for your support. Setting the FOREST_CLIENT_ID seems to have fixed the problem.

1 Like

Great news!! I wish you a great time on Forest Admin :slight_smile:

1 Like