I am getting general_bad_request when trying to login Github
I have follow the Appwrite's YouTube video to setup Github OAuth
TypeScript
const loginWithGithub = async () => {
try {
setLoading(true);
setError(null);
account.createOAuth2Session(
"github",
process.env.REACT_APP_SUCCESS_URL,
process.env.REACT_APP_FAILURE_URL
);
} catch (error) {
console.error("Github login error", error);
setError(error.message);
setLoading(false);
}
};
TL;DR
Error 400 `general_bad_request` when trying to login to GitHub using Appwrite's OAuth. Developer followed a YouTube video to set up GitHub OAuth. Code snippet provided for logging in with GitHub using Appwrite.Recommended threads
- Cloud function deploy stucks in processi...
Been trying for the last hours to deploy my function but for whatever reason, alwasy stuck on processing!
- One-time Cloud migration blocked by data...
Hi, I’m blocked on a one-time migration from Appwrite Cloud to my self-hosted Appwrite instance. We already fixed the region issue, and the migration now corre...
- All My Project is Gone
Hello everyone, please help. Why have all my projects suddenly disappeared? I received a warning via email about one of my projects being paused. When I clicked...