feat:google oauth

This commit is contained in:
2025-10-03 17:00:21 +02:00
parent 6fddf426b6
commit 0caa5dc9d6
12 changed files with 292 additions and 1 deletions

8
src/lib/server/oauth.ts Normal file
View File

@@ -0,0 +1,8 @@
import { Google } from 'arctic';
import { GOOGLE_CLIENT_ID, GOOGLE_CLIENT_SECRET } from '$env/static/private';
export const google = new Google(
GOOGLE_CLIENT_ID,
GOOGLE_CLIENT_SECRET,
'https://sergeno.ziasvannes.tech/login/google/callback'
);