Rank 1: Thread
I am experiencing issues with the OAuth part of Appwrite. Sometimes, I encounter a 500 error after executing the OAuth process. At other times, the OAuth provider page takes too long to open. Even after redirecting to the success URL, I am unable to fetch the sessions.
U have implemented in this way using it in the methods :
async githubLogin() {
try {
return this.account.createOAuth2Session(
"github",
"http://localhost:5173/blogs",
"http://localhost:5173/login"
);
} catch (error) {
throw error;
}
}
async getAccount() {
try {
return this.account.getSession("current");
} catch (error) {
throw error;
}
}
Is there any error over here or some parts I am missing?