tRPC throwing UNAUTHORIZED after logging in

After I'm logging in using my custom sign-in page (next-auth), I get a redirect to /dashboard. But there, all my tRPC queries are failing and throwing UNAUTHORIZED error. After I simply reload the page everything seems to be working, why is it so? Here's the code: https://github.com/Bartek532/rssmarkable
GitHub
GitHub - Bartek532/rssmarkable: Open source app for syncing RSS fee...
Open source app for syncing RSS feeds to reMarkable tablet 🔄 - GitHub - Bartek532/rssmarkable: Open source app for syncing RSS feeds to reMarkable tablet 🔄
1 Reply
Bart ⚡
Bart ⚡2y ago
Any suggestions? Please 🙏
Want results from more Discord servers?
Add your server