Help Please OAUTH
Posted by Hefty-Pattern-4404@reddit | learnprogramming | View on Reddit | 1 comments
Yes this was written with ai I have no idea what I'm talking about lol
What's Working: ✅ Google Cloud project set up (Gmail API enabled) ✅ OAuth consent screen configured ✅ OAuth 2.0 credentials created ✅ Test users added ✅ Backend running on Replit (Node.js/Express) ✅ Redirect URIs match exactly ✅ Credentials in code match Google Cloud The Problem: ❌ OAuth flow fails with "Error 401: invalid_client - The OAuth client was not found" ❌ Tried recreating credentials multiple times ❌ Double-checked Client ID and Secret - they match
Please dm if you can help me!
TheModernDespot@reddit
Can you send a snippet of your code? invalid_client can be caused by a number of issues.
The issue itself is very simple, and a single Google search would have resolved it though.