I could deploy my forest to a remote preprod server, I can find the “Preprod” in the environment tab in forest but it’s not shown in the environment switch dropdown list (screen image)
@Sliman_Medini I just checked the logs from the server, there is no error
From the bowser, I have a forbidden error (403) for the request : https://…forest/authentication
Can you check on the browser side?
The network tab in dev tools should contain information about the failing request.
Note: you can right-click on the failing request and select “save all as HAR with content”
I have additional questions:
What is your forest-express-sequelize version?
What is your browser model and version?
Could you please share with us more details about the request that are failing? We need to know their request & response headers for both the OPTIONS and GET verbs, from the network tab of your browser.
Without these information, we cannot know why you get some 403 errors at all.
You can blur sensible data if you want, such as the tokens that are shared between the browser and the agent.
We also need to know the precise version that you are using. Could you please launch this command npm list forest-express-sequelize in your directory and past the result here? It will log the exact version that you are using.
@GuillaumeGautreau thank you soo much, that was the missing part!!! So we generated a FOREST_CLIENT_ID for each of or environment and it’s working now!!!
Thank you so much guys for your precious help
Hey @GuillaumeGautreau I could deploy on preprod and prod but did the same stuff for my remote dev server, the route /forest/authentication is working, but it’s saying that I’m running Forest on my local environment, and there’s this request and error :