Should I use a client handler? Like for passing JWT and how next.js doesn’t want us holding all auth logic in proxy.ts (middleware just name change per next docs) then which is best?
The user is seeking advice on handling JWTs in a Next.js setup with Supabase. They are uncertain about the best approach for managing authentication logic, especially considering Next.js's recommendations against storing all auth logic in middleware.
This is down to you as a developer. But how would you then use Supabase on the server-side if the JWT is only stored on the client?