You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Beyond the hotfix in #299, the application should be configured to change how cookies are stored should change with each app-year. It is not sufficient to simply use Date.current.year or similar in the cookie name, since the main problem manifests when users log in shortly before the app is re-seeded each April, at which point user IDs change while the cookies do not. However, there are many relevant timestamps in the database that could potentially help signal the year the app was built for.
Additionally, look into the possibility of storing more than just the user ID number in the cookie, to help detect when a cookie should go stale.
The text was updated successfully, but these errors were encountered:
Per today's meeting, once #294 is merged to keep participants bound to the same participant ID from year to year, this becomes far less of a problem.
Still, it's good hygiene to rotate the SECRET_KEY_BASE environment variable in /etc/apache2/sites-enabled/003-binder-app-production.conf when launching a new year's Carnival.
@Aklaran can add this to Carnival creation documentation in #294.
Beyond the hotfix in #299, the application should be configured to change how cookies are stored should change with each app-year. It is not sufficient to simply use
Date.current.year
or similar in the cookie name, since the main problem manifests when users log in shortly before the app is re-seeded each April, at which point user IDs change while the cookies do not. However, there are many relevant timestamps in the database that could potentially help signal the year the app was built for.Additionally, look into the possibility of storing more than just the user ID number in the cookie, to help detect when a cookie should go stale.
The text was updated successfully, but these errors were encountered: