hi everyone, first time poster...apologize if this is supposed to go anywhere else or merge. I'm at the end of my rope and I'd be so grateful for community help!
I've spent about 12+ man hrs bouncing between VS Code (and AI builders) and Supabase's agent trying to diagnose why an invite user function won't work. Have a User Management area in app being built locally and on local host. Calls edge function, supposed to kick email out to invited user. Have verified local user tokens are fine, the edge function itself is fine, my local code calling it is fine, anon key is correct, the call is formatted correctly, I'll still get 401 errors: invalid token. I signout and in, verify the token again,I tell supabase, they make a patch, and I'll get JWT error. I'll verify bearer and user again, tell supabase, make patch, 401 token error. I'm on Windows, using VS Code, using GitBash terminal when i have to.
I don't know if it's a clue, but I do have working edge functions with JWT is disabled on all of them as i develop - they produce a lot of errors, and I had been putting off dealing with them until I'm further along.
Let me know if should add anything that can help better responses. Appreciate any responses in advance!