[AdapterError] NextAuth with Drizzle Adapter on Edge
Im trying to guard my application from un-authenticated users. Basically if not authenticated redirect to login deal.
I have attached a simplified middleware which i use for this purpose. Along with the error message i get when using it.
This error only occurs when i use middleware along with NextAuth.
Im using t3 stack. Drizzle ORM connecting to Supabase
0 Replies