[Urgent] Cannot connect to production

Feature(s) impacted

While removing unused environment variables, we noticed a variable named FOREST_CLIENT_ID that wasn’t being used. We deleted it, and since then nothing works. We restored the variable, and nothing works either.

We can’t connect to the production environment, which is highly impactful for our business. I can connect to my local environment just fine, with FOREST_ENV_SECRET and FOREST_AUTH_SECRET set to different values. But if I use the same variables as production locally, it still doesn’t work

Failure Logs

From this link: https://app.forestadmin.com/AutoHub/AutoHub/AutoHub/data/708360/index?

I can see that Forest is making calls to our API https://{{api.url}}/forest/authentication

With the response preview:

authorizationUrl: "https://api.forestadmin.com/oidc/auth?client_id=TOKEN&scope=openid%20email%20profile&response_type=code&redirect_uri=http%3A%2F%2Flocalhost%3A3310%2Fforest%2Fauthentication%2Fcallback&state=%7B%22renderingId%22%3A102646%7D"

Context

  • Project name: AutoHub
  • Environment name: AutoHub (we don’t use Production)
  • Database type: mongodb
  • forest-express-mongoose: ^9.3.17

ForestAdmin team, it’s an urgente issue, i’m French, but our business operates in the United States. Would it be possible to get the contact for someone who can help analyze our issue? Thank you very much!!

Issue resolved! >e had removed the APPLICATION_URL and DB_URI variables, which appeared to be required for Forest to function. Posting this here in case it helps others in the future! :slight_smile: