Get rendering id of current env

Hello @Thong_Dang,

Indeed, this is intentional. The logic is hidden within your forest-express-mongoose agent.

As I answered in the last topic you should have the request.user automatically setted by the authentication middleware (which avoid doing some fancy stuff).

  • The question is Do you have the ensureAuthenticated middleware mounted on your project?

  • Could you share your project name ?

  • How did you integrate forest-express-mongoose within your app?

Thanks for your anwsers.

Kind regards,
Morgan