Ask HN: How authentication works at HN?
Whenever I upvote a story, HN sends a request of type: `vote?id=12390292&amp;how=up&amp;auth=XXX`
`XXX` is different for each story in the page.<p>I checked the cookies using dev tools. There is a cookie called user whose value is &lt;myusername&gt;&amp;[YYYY]<p>Here `YYYY` is a different token. Can anyone explain what is going on with all these tokens and why are they all different?<p>PS: Inspired by http:&#x2F;&#x2F;blog.watchandcode.com&#x2F;2016&#x2F;03&#x2F;17&#x2F;the-single-piece-of-javascript-on-hacker-news&#x2F;