BA
Better Auth•2mo ago
Leonardo

How can I know more about the invalid_client Error Code?

I'm integrating the MCP plugin to my tanstack start app, I swear yesterday it was working but today I always get that invalid_client right after a successful login. I don't know where to look at, maybe a vscode update (I'm on the insiders with daily updates) or really I don't understand why it suddently stopped working. Regardless of yesterday vs today, back do the initial question, where can I know more about the invalid_client error?
No description
Solution:
That's great, I had deleted the oauth_application entry on my db that was generated by vscode the first time, without telling vscode to also remove it from its cache. From vscode I ran the command "Remove Dynamic Authentication Provider" and tried again my MCP server, it did again the discovery process and it know works 😄...
Jump to solution
2 Replies
Leonardo
LeonardoOP•2mo ago
Extra notes, this is what I see on my console and actually I get the auth popup on vscode twice for some reason. I can show some code or provide more detail, just ask 🙂
No description
No description
Solution
Leonardo
Leonardo•2mo ago
That's great, I had deleted the oauth_application entry on my db that was generated by vscode the first time, without telling vscode to also remove it from its cache. From vscode I ran the command "Remove Dynamic Authentication Provider" and tried again my MCP server, it did again the discovery process and it know works 😄

Did you find this page helpful?