karlupo
BABetter Auth
•Created by karlupo on 4/24/2025 in #help
Social signup for Expo App
Hello, i setup social signup on my backend and on my expo app now.
This is my frontend code:
let res = await authClient.signIn.social({
provider: "google",
callbackURL: "/profile"
})
however, when i call this function, a google page opens, i click on my account and then I do not get logged in and res simply is:
{"data": {"redirect": true, "url": "https://accounts.google.com/o/oauth2/auth?response_type=code&client_id=434798643109-4rdfk5bfl9qvj1se6v9ob59ejv55lj2c.apps.googleusercontent.com&state=Exw4iqfYOolNIcj4uEjLHMu-uVhcecHe&scope=email+profile+openid&redirect_uri=http%3A%2F%2Fdressr.at%3A4000%2Fapi%2Fauth%2Fcallback%2Fgoogle&code_challenge_method=S256&code_challenge=x4haVELGgCwBmuu6Cn3F8ftM30RIoXh1sUIvT5OVEPI"}, "error": null}
Could someone help?
12 replies