bradunov / shkola

Shkola is a web framework for math exercises for primary school kids.
https://www.tatamata.org/
Other
2 stars 0 forks source link

Backend auth: implement user cookie #11

Closed vladap2013 closed 4 years ago

vladap2013 commented 4 years ago

Currently, after session cookie expires (user closes the browser), the user needs to login again. We should add persistent cookie to keep user logged in for a longer period. The value of the cookie must be randomly generated and corresponding value stored in the user table.

vladap2013 commented 4 years ago

This is also not needed because we use external authentication. Google will handle user cookie and automatically login user.