zander
zander
Explore posts from servers
PPrisma
Created by zander on 4/20/2025 in #help-and-questions
Prisma generate with Turborepo never prompting for name
Tried on both windows and Mac with the same issue
3 replies
BABetter Auth
Created by zander on 2/19/2025 in #help
Setting cookies in electron with better-auth
Will try that!
7 replies
BABetter Auth
Created by zander on 2/19/2025 in #help
Setting cookies in electron with better-auth
I was able to create a custom ‘after’ hook that used newSession to send the token back to the electron app, however this only provided the first half of the token before the dot. Is there a way to get the entire token? Thanks!
7 replies
BABetter Auth
Created by zander on 2/18/2025 in #help
Open Social SignIn in external window
Answered my own question. Add disableRedirect: true to the signin options, then redirect manually const { data } = await authClient.signIn.social({ provider: 'twitch', disableRedirect: true, }); if (data?.url) { window.electron?.openExternal(data.url); }
4 replies