NextAuth / AuthJs with i18n #698
Closed
laurent512
started this conversation in
General
Replies: 2 comments
-
You could try it with the import { sequence} from "@sveltejs/kit";
export const handle = sequence(
async ({ event, resolve }) => {
// ... i18n `handle` code
},
SvelteKitAuth({
providers: [GitHub({ clientId: GITHUB_ID, clientSecret: GITHUB_SECRET })],
}
); You should open an issue on the |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thank you so much , it worked! :) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I have cloned your implementation with Sveltekit and am trying to integrate authentication with it.
https://github.com/ivanhofer/typesafe-i18n-demo-sveltekit/tree/main
Would you have an idea to integrate it with NextAuth / AuthJS ?
https://authjs.dev/reference/sveltekit
I am a bit confused on the hooks.server.ts part as both of the libraries have requirements on it :)
Thank you so much for your help
Beta Was this translation helpful? Give feedback.
All reactions