Setting cookies in electron with better-auth

I have my app properly setup to successfully redirect to an external browser to login with twitch in my electron app. I was able to successfuly get the callback to redirect back to my app, however the cookie doesnt get set. I have tried to manually set the cookie myself, but cant figure out how to get the second half of the token that is set. Any help would be greatly appreciated thanks!
Was this page helpful?