lutefd
DTDrizzle Team
•Created by lutefd on 1/20/2024 in #help
Next auth with extended columns not able to create a user
It seems to be a next-auth issue, when i create the user via credentials it works fine, even when not specified it uses the default and create the user with the values expected, but when the user is created via their sso providers it breaks trying to insert null
5 replies
DTDrizzle Team
•Created by lutefd on 1/20/2024 in #help
Next auth with extended columns not able to create a user
I've tried like this as well but no success
5 replies
DTDrizzle Team
•Created by lutefd on 1/20/2024 in #help
Next auth with extended columns not able to create a user
I put in the not null constraint because if it doesn't have it there for some reason it overides the default and inserts as null
5 replies
DTDrizzle Team
•Created by lutefd on 1/20/2024 in #help
Next auth with extended columns not able to create a user
When i create them manually through drizzle studio it works fine
5 replies
DTDrizzle Team
•Created by lutefd on 1/10/2024 in #help
Reusing db connection in lambda with Drizzle
Also tried something more like this sst guide but no luck again
Guide: https://sst.dev/examples/how-to-use-mongodb-atlas-in-your-serverless-app.html
Code for the config:
3 replies
DTDrizzle Team
•Created by lutefd on 1/10/2024 in #help
Reusing db connection in lambda with Drizzle
I've tried something closer to their example modifying the config like this:
And the action like this:
But had no success with the db connection limit still being reached
3 replies