Kıte
Kıte
CCConvex Community
Created by Kıte on 8/30/2024 in #support-community
withOptimistic in fetchMutation
I also tried this, but somehow it duplicate my message. I'll test more outcome, I'll update after some test.
12 replies
CCConvex Community
Created by Kıte on 8/30/2024 in #support-community
withOptimistic in fetchMutation
Can I use convexNextAuthToken in useMutation? using app router with ssa.
12 replies
CCConvex Community
Created by Kıte on 8/30/2024 in #support-community
withOptimistic in fetchMutation
Im using convexAuth with ssr
12 replies
CCConvex Community
Created by Kıte on 8/30/2024 in #support-community
withOptimistic in fetchMutation
Yup, its a client side chat that initially SSR
12 replies
CCConvex Community
Created by Kıte on 8/30/2024 in #support-community
withOptimistic in fetchMutation
I created a realtime chat in ssr, I also used convexNextAuthToken for that to work. I don't know how I can apply optimistic update when user send a message.
12 replies
CCConvex Community
Created by Kıte on 8/14/2024 in #support-community
Convex Auth Google OAuth
thanks, I didn't realize clrearing docs will solve the problem
41 replies
CCConvex Community
Created by Kıte on 8/14/2024 in #support-community
Convex Auth Google OAuth
No description
41 replies
CCConvex Community
Created by Kıte on 8/14/2024 in #support-community
Convex Auth Google OAuth
I also even try .toString() or as String.
41 replies
CCConvex Community
Created by Kıte on 8/14/2024 in #support-community
Convex Auth Google OAuth
and
console.log(prof.sub === typeof String);
console.log(prof.sub === typeof String);
return false
41 replies
CCConvex Community
Created by Kıte on 8/14/2024 in #support-community
Convex Auth Google OAuth
No description
41 replies
CCConvex Community
Created by Kıte on 8/14/2024 in #support-community
Convex Auth Google OAuth
No description
41 replies
CCConvex Community
Created by Kıte on 8/14/2024 in #support-community
Convex Auth Google OAuth
I'm using @convex-dev/auth 0.0.55
41 replies
CCConvex Community
Created by Kıte on 8/14/2024 in #support-community
Convex Auth Google OAuth
yep
41 replies
CCConvex Community
Created by Kıte on 8/14/2024 in #support-community
Convex Auth Google OAuth
yeah, even I followed Authjs instructions, I still getting the same error. Maybe I should go with onboarding for a while.
41 replies
CCConvex Community
Created by Kıte on 8/14/2024 in #support-community
Convex Auth Google OAuth
should I return id like this
id: prof.sub,
id: prof.sub,
? if then I will update my schema to have id and _id ?
41 replies
CCConvex Community
Created by Kıte on 8/14/2024 in #support-community
Convex Auth Google OAuth
I also tried to spread prof
41 replies
CCConvex Community
Created by Kıte on 8/14/2024 in #support-community
Convex Auth Google OAuth
No description
41 replies
CCConvex Community
Created by Kıte on 8/14/2024 in #support-community
Convex Auth Google OAuth
Yeah, it works without a config. Now I just made user onboard to make sure that they can fill up firstname and lastname.
41 replies
CCConvex Community
Created by Kıte on 8/14/2024 in #support-community
Convex Auth Google OAuth
Yup, I changed my schema
41 replies
CCConvex Community
Created by Kıte on 8/14/2024 in #support-community
Convex Auth Google OAuth
why tagged this as resolve? I still can't set user firstname and lastname from google.
export const { auth, signIn, signOut, store } = convexAuth({
providers: [
Google({
profile: (prof: GoogleProfile, token: TokenSet) => {
const user: Awaitable<User> = {
firstname: prof.given_name,
lastname: prof.family_name,
} as User;
return user;
},
}),
],
});
export const { auth, signIn, signOut, store } = convexAuth({
providers: [
Google({
profile: (prof: GoogleProfile, token: TokenSet) => {
const user: Awaitable<User> = {
firstname: prof.given_name,
lastname: prof.family_name,
} as User;
return user;
},
}),
],
});
41 replies