![](https://lemmy.ml/pictrs/image/2e781304-5949-4c0b-8922-4e9f6eb31d4d.jpeg)
![](https://lemmy.ml/pictrs/image/1f910de9-62b5-43a9-8c93-94821c945577.png)
Yeah, I understand what you mean (after a year of exploring the Web Socket).
That lemmy auth
value is pulled from a JWT cookie in the browser - which you can access in JS by document.cookie
. It allows user-specific API calls (retrieving saved posts, subscribed communities, etc).
Here are some good examples from the article:
Imagine how much we could improve the world with that $8 trillion.