Local Realtime - MalformedJWT: The token provided is not a valid JWT
I've been trying everything I can think of to get around this error. If I point my app to production in supabase no issue, everything works instantly with realtime. Locally though it just constantly fails. Haven't had success once locally.
supabase-js 2.58.0, docker JWTs are the same and originals, its in the publication table, local studio shows the table is enabled, no diffs in table or settings between local and production. The entire project requires auth for the RPCs and edge functions and they all work fine locally. It's just literally realtime gets this weird JWT error that I can't seem to get around. Any ideas much appreciated!
Full log line from Docker:
13:45:06.984 project=realtime-dev external_id=realtime-dev error_code=MalformedJWT [error] MalformedJWT: The token provided is not a valid JWT
1 Reply
is there a way to log the JWT you are sending and see what it is, also what version of cli are you on?