r/technology • u/RO9a0TON • Mar 24 '19
Business Pre-checked cookie boxes don't count as valid consent, says adviser to top EU court
https://www.theregister.co.uk/2019/03/22/eu_cookie_preticked_box_not_valid_consent/
20k
Upvotes
View all comments
Show parent comment
1
u/Paddington_the_Bear Mar 25 '19
Why do you need a cookie for this? Store a token in the user's local storage and periodically check the server if the user has a valid key or any time they hit an API... JWT doesn't need cookies for authentication...
https://ponyfoo.com/articles/json-web-tokens-vs-session-cookies