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
- Weird permission failure
when creating an account I use following methods: ``` Future<void> register(String email, String password, String username) async { final user = await accoun...
- Appwrite Storage error 503s for automate...
I'm facing error 503s from Appwrite after about 5-6 seconds of making AI requests from my tool with images and files above 20MB (=> not inline base64 used, but ...
- Flutter Android oAuth is no more working
I currently don't get the oAuth login to work in flutter android. it works on ios and on web. but when try to use it on Android, i get to the point where the ca...