feat:google oauth
This commit is contained in:
8
src/lib/server/oauth.ts
Normal file
8
src/lib/server/oauth.ts
Normal 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'
|
||||
);
|
||||
Reference in New Issue
Block a user