gurunate / learning-portrait

A grade book that thinks like you do.
https://learningportrait.com
4 stars 0 forks source link

Remembering where a user left off from logging out #207

Open greenervigil opened 1 month ago

greenervigil commented 1 month ago

As an instructor, I would like to be able to start where I left off when I was last logged in.

The standard auth/login pattern accepts a continue or next callback URL to redirect the user once authenticated.  That's usually the target URL of the resource you're attempting to access.  If that's empty, you default to the last URL help in local storage.  You'd keep updating that URL as the user moves around the site.