The COOKIE_VALIDITY_MS environment variable is supposed to configure how long issued session cookies are valid for. However, before this commit, this setting was only respected when the OFFLINE_DEV_ID setting (which seems to be used for local testing during development) is enabled.
This commit changes this so the configured validity period also gets applied to session cookies issued using the Spotify login OAuth flow.
The
COOKIE_VALIDITY_MS
environment variable is supposed to configure how long issued session cookies are valid for. However, before this commit, this setting was only respected when theOFFLINE_DEV_ID
setting (which seems to be used for local testing during development) is enabled.This commit changes this so the configured validity period also gets applied to session cookies issued using the Spotify login OAuth flow.