.hatulapro
Explore posts from serversTTCTheo's Typesafe Cult
•Created by .hatulapro on 10/19/2022 in #questions
Validating supabase JWT token locally (without making a request to their API) [solved]
I have a nextjs api handler that calls this to validate the user (and then makes a DB request using user.id):
The issue is it takes about 600ms for that to run, since it makes a request to supabase. Is there a way to validate the cookie locally?
2 replies