Wojak
Wojak
Explore posts from servers
BABetter Auth
Created by Wojak on 4/2/2025 in #help
Retrieving the linked google `email` for credentials registered user
I registered with emailAndPassword where a single account is created. Is it possible to gain information about another account with the same user when linking a google account? I see that in the account table, there is no way to retrieve the email. My use-case is displaying the email where its possible that the user registered with a different google email as the one that he registered with (mismatch between google account and user email)
2 replies
PPrisma
Created by Wojak on 3/3/2025 in #help-and-questions
Question about storing/reading dates from database
Hi, does anyone got some links or know how should I deal with dates in JavaScript/Prisma when it comes to storing it to the db and reading a date DateTime db value? My colleague from another timezone gets -1 day when displaying it from the client while mine shows the correct value. I store it using new Date(value.someDatefield) upon form submission and read it using date.getFullYear/getDate/getMonth.
5 replies