patelvivekdev / AuthJs-Template

A template repo for starting authentication in your upcoming Next.js application. Used Drizzle, Auth.js(Next-Auth), Turso.
https://authjs-template.patelvivek.dev
MIT License
21 stars 0 forks source link

Any Luck? #1

Closed james0r closed 3 months ago

james0r commented 4 months ago

I'm messing around with setting up auth with Turso and Next. Not finding much out there. Did you get it working?

patelvivekdev commented 4 months ago

I'm messing around with setting up auth with Turso and Next. Not finding much out there. Did you get it working?

I've set up authentication with Turso and Next.js, and it seems to be working so far.

Feel free to give it a try and let me know how it goes.

The only issue is that Auth.js currently doesn't support account linking.

patelvivekdev commented 4 months ago

I'm still working on some parts, like two-factor authentication (2FA) and database improvements.

james0r commented 4 months ago

I didn't realize that I didn't even need to persist user data when using Google as a provider. I see you've set up credentials though and I wanna set that up so I'll definitely reference this.

james0r commented 4 months ago

Were you able to get Drizzle studio running? I'm running chrome but when i fire it up and hit the endpoint I just get the infinite spinning "Connecting to the Drizzle Kit on localhost:4983"

patelvivekdev commented 4 months ago

Were you able to get Drizzle studio running? I'm running chrome but when i fire it up and hit the endpoint I just get the infinite spinning "Connecting to the Drizzle Kit on localhost:4983"

For me, it is working.

   "drizzle-orm": "^0.30.10",
   "drizzle-kit": "^0.21.4",

Mine is running on: https://local.drizzle.studio/