Google Oauth issue when Auto-scaling on

I have a plotly dash app which works fine when on local or when deployed to render with autoscaling off. But when the autoscaling is on it keeps asking for google oauth several times before navigating to app and even then it keeps asking for it on each page link click. Any suggestions?

Hi there,
With autoscaling the public URL of your service does not change - it might be that your application is using memory to track the session and with multiple instances then some instances may have the session in memory and others may not - so you might need to investigate that and figure out how to share the session data - typically in a database/key value store

1 Like

Thnak you John for responding. Would Redis be a good option in such a case?