Social sign-in doesn't work

const res = await authClient.signIn.social({
provider: "google",
fetchOptions: {
headers: {
"x-captcha-response": token,
},
onSuccess: () => {
router.push("/home");
}
},
});
const res = await authClient.signIn.social({
provider: "google",
fetchOptions: {
headers: {
"x-captcha-response": token,
},
onSuccess: () => {
router.push("/home");
}
},
});
can someone explain why am i not getting the popup for google signin? nothing will happen on the click, any help appreicated, thanks!
Solution:
hmm. could it be your db connection?
Jump to solution
3 Replies
aa55h
aa55hOP3w ago
well actually, im getting this in the console afterwards
No description
Solution
bekacru
bekacru3w ago
hmm. could it be your db connection?
aa55h
aa55hOP3w ago
yes, fixed it

Did you find this page helpful?