Uploaded January 2023 | Updated December 2026, 3 hours ago
Handling JWT-based authentication inside of NextJS middleware is super fast, and very useful but can be a bit tricky to implement. Let's look at best practises for implementing JWT auth inside of NextJS middleware, eliminating the need to call a separate API route to handle the JWT authentication. We'll also pass back the JWT from a tRPC backend route back to the client.
⭐ Our startup: wordful.ai
Thanks for watching, have fun implementing JWT-based authentication inside of your NextJS app!
Handling JWT-based authentication inside of NextJS middleware is super fast, and very useful but can be a bit tricky to implement. Let's look at best practises for implementing JWT auth inside of NextJS middleware, eliminating the need to call a separate API route to handle the JWT authentication. We'll also pass back the JWT from a tRPC backend route back to the client.
⭐ Our startup: wordful.ai
Thanks for watching, have fun implementing JWT-based authentication inside of your NextJS app!







![The Better Way to Build AI Apps
Ive been experimenting with durable AI streams for a few months and figured its really useful.
If you have suggestions how to improve this even more let me know!! :]
links
live demo: https://upstashrealtime.vercel.app/
open-source code: https://github.com/joschan21/durable-llm-streams
my links
second channel (in depth videos): @Joshtriedupstash
github: https://github.com/joschan21
thanksfor watching, appreciate ya The Better Way to Build AI Apps](https://i.ytimg.com/vi/s1Dkk48PFmw/mqdefault.jpg)

![This New Tailwind Plugin is Awesome
CSS officially has a new property: corner-shape! This plugin ports it to Tailwind v4 so we can use it directly with classnames :]
If a browser doesnt support the corner-shape property yet, we always fall back to the native border radius thats supported everywhere. So our app either looks better in supporting browsers or normal in all others
my links
twitter: https://x.com/joshtriedcoding
github: https://github.com/joschan21
appreciate you for watching :] This New Tailwind Plugin is Awesome](https://i.ytimg.com/vi/tLlIRO2UaIY/mqdefault.jpg)
