# Middleware in Next.js 13


[Watch Next.js Middleware & Cors | Nextjs 13 tutorial](https://www.youtube.com/watch?v=h4-2K7nFf7s)

[How to add JWT Authentication to NextJS Apps](https://levelup.gitconnected.com/how-to-add-jwt-authentication-to-nextjs-apps-a0dc83bd257d)

[Watch Securely using JWT on the Edge: Authentication in NextJS Middleware!](https://www.youtube.com/watch?v=pmAnWOofqJE)