emory-libraries / dlp-lux

Discovery for the DLP Cor Repository
2 stars 0 forks source link

Thumbnails for Log In Required items break after logged in session exceeds 24 hours #625

Closed nikdragovic closed 3 years ago

nikdragovic commented 4 years ago

Thumbnails break after a given period of time, in all environments. This is possibly due to the expiration of a cookie generated during authentication that enables access to these thumbnail images.

See #561 for prior work and additional details. Depending on outcomes of this ticket, related ticket #618 will be re-evaluated.

Acceptance Criteria

nikdragovic commented 3 years ago

As of 8am 7/20, when I log in in an incognito window, I am not able to load Log In Required thumbnails in test. Prod and arch seem to be working normally.

Screen Shot 2020-07-20 at 7.58.43 AM.png

nikdragovic commented 3 years ago

I successfully rendered this error message when I kept an older session logged in. I also logged out of and back into the incognito session and it appears to be working properly. I will keep checking to make sure there is no unexpected behavior.

Screen Shot 2020-07-20 at 8.14.05 AM.png Screen Shot 2020-07-20 at 8.14.41 AM.png

nikdragovic commented 3 years ago

I see broken thumbnails in prod now. i think the source of this issue has been toggling between incognito and regular windows, and logging in and out of each. I'll continue with only one window.

Screen Shot 2020-07-20 at 8.20.54 AM.png