This issue is not related to cache. For your forest-express-mongoose agent, the redirect_uri should be defined with the help of an environment variable APPLICATION_URL, could you please check that this environment variable is set properly ?
src/forest-admin.ts:31:5 - error TS2345: Argument of type ‘{ configDir: string; envSecret: any; authSecret: any; schemaDir: string | undefined; objectMapping: typeof Mongoose; connections: { default: any; }; applicationUrl: string; }’ is not assignable to parameter of type ‘LianaOptions’.
Object literal may only specify known properties, and ‘applicationUrl’ does not exist in type ‘LianaOptions’.
I am trying to reproduce the issue but to no avail.
As for the Liana init configuration, there should be nothing to change, the APPLICATION_URL is fetched directly from environment variables.
While looking at your project I can see that you have multiple other project pointing to the same api endpoint url moreover some of the environments from those projects are still using localhost:3310 as their endpoint. I also checked the call made to our backend for the authentication and I cannot see any call that was made in the last week for the 3 environments present in GSL-staging. Is it possible that the agent on your backend is not using the environment variables for your GSL-staging’s environments ?
On your code snippet defining your liana, I cannot see any import of the dotenv. Maybe it is defined where you are using the function but can you confirm that you do import it ?
For JS: