Google Social Sign with idToken

anyway to use this idToken with
const data = await authClient.signIn.social({
provider: "google",
idToken: {
token: // Google ID Token,
accessToken: // Google Access Token
}
})
const data = await authClient.signIn.social({
provider: "google",
idToken: {
token: // Google ID Token,
accessToken: // Google Access Token
}
})
To create/sign-in users?
No description
2 Replies
FalconiZzare
FalconiZzareOP5d ago
@bekacru sorry for the ping, any idea?
FalconiZzare
FalconiZzareOP5d ago
Found the solution. Just pass the idToken to token field. No need for accessToken. See attached image.
No description

Did you find this page helpful?