News for hackers. Stuff that matters.
Re:No cookie consent walls, scrolling isn’t consent, says EU... by duqd_ on Wednesday May 06, 2020 @10:34PM (#23099077)
Name a localstorage auth mechanism on 1st request ?
Re:No cookie consent walls, scrolling isn’t consent, says EU... by austincheney on Wednesday May 06, 2020 @11:08PM (#23099274)
If you don’t already have a valid session cookie name a cookie solution to first request authentication.

With a local storage solution I would embed a session hash in some dynamically written HTML or a response header that is then stored in localStorage and then on every subsequent page request in the current HTTPS session send back that session hash prepended with a salt in the https request header. Then it’s always on initial page request but only after the session is established by the server.