Retool env variables not getting picked

We are using a self hosted retool instance. I want to setup oauth2 authentication for one of my resources. The redirect url is by defautl BASE_DOMAIN/oauth/user/oauthcallback.

I added the BASE_DOMAIN env variable and redeployed the instance but its not getting picked up. I tried redeploying multiple times but the callback url doesnt pick up the base domain

Hi @Krishna_Priya_S can you share some screenshots? Are you using source control?

Hi this got resolved when i recreated the resource, the resource didnt automatically pickup the env vars, howevee when i recreated the same resource, it did.