h4i-recruitment icon indicating copy to clipboard operation
h4i-recruitment copied to clipboard

Migrate Authentication to Cookies

Open tko22 opened this issue 6 years ago • 1 comments

It's currently using sessionStorage, but you can't access it in server rendering, which limits the power of Next.js. Migrating to storing keys in cookies would allow the server to view authentication keys there. Heck, maybe we can change up auth as a whole and make it more secure. that's super low priority though.

Example: https://github.com/zeit/next.js/pull/5821

tko22 avatar Sep 04 '18 04:09 tko22