ChrisLiC
Convex Community14mo ago
3 replies
ChrisLi

convex google oauth issue

I configured the google oauth in the providers, but got an error.

providers: [ GitHub({ profile(githubProfile) { return { id: githubProfile.id.toString(), }; }, }), Google({ profile(googleProfile) { console.log("googleProfile", googleProfile); return { id: googleProfile.id?.toString(), }; }, }), ],

error: 'The profile method of the google config must return a string ID

But in googleprofile, there is no such id returned.
Was this page helpful?