dynamic routes in middleware with next-auth
so i want to do dynamic routes using next-auth with the config varibe that middleware offers
This is what i have defined
i have tried doing something like this
i also tried defining it myself using a function but that didn't really work
This is what i have defined
i have tried doing something like this
i also tried defining it myself using a function but that didn't really work