Local/Dev authentication on TanStack.com = INVALID_ORIGIN
Using better auth on TanStack.com now... how the heck can I authenticate in development locally? I added http://localhost:3000 to my trustedOrigins, and even created development apps for github/google, but still get INVALID_ORIGIN when attempting to login with social. I have even disabled CSRF protection temprorarily, but still no dice. I'm not sure what else to try.
2 Replies
Can you add to your auth config and let us know what the debugger is saying, and show us your auth.trustedOrigins list?
Figured it out
It was an env var puzzle via convex