Replies: 2 comments 2 replies
-
NextAuth is becoming AuthJS, I think eventually everything will end up referencing AuthJS. The documentation on https://authjs.dev isn't quite there yet, so you may find yourself referencing things on https://next-auth.js.org, particularly provider documentation. The SvelteKit adapter works ok. |
Beta Was this translation helpful? Give feedback.
1 reply
-
I'm not, but have you tried a schema as detailed at
https://authjs.dev/reference/adapter/drizzle ?
…On Tue, 10 Oct 2023 at 11:39, Jason ***@***.***> wrote:
@tdack <https://github.com/tdack> Any chance you're using the Drizzle
adapter with AuthJS and SvelteKit?
I'm having trouble identify what to pass into DrizzleAdapter(db) because
neither client nor db work:
// db.ts
import { createClient } from ***@***.***/client';import { drizzle } from 'drizzle-orm/libsql';import * as env from '$env/static/private';
export const client = createClient({ authToken: env.TURSO_DB_AUTH_TOKEN, url: env.TURSO_DB_URL });
export const db = drizzle(client);
—
Reply to this email directly, view it on GitHub
<#8824 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAM4SFTO7JG6PD74YGGTXADX6VT35AVCNFSM6AAAAAA5ZNWQZ2VHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TENBSGY3DS>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
I have these in my package.json file:
"@auth/sveltekit": "^0.3.9",
"@auth/core": "^0.16.1",
"@auth/sequelize-adapter": "^1.0.3",
I started down the path of installing nextauth, then noticed that the latest sveltekit has a dependency on @auth/core.
So... will there be a sveltekit version that's compatible with nextauth?
I also noticed the example sveltekit auth uses @auth/core, so perhaps we're not there yet with a sveltekit nextauth integration?
thanx!
Additional information
No response
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions