File size: 350 Bytes
405fa83
bd7a7e5
405fa83
 
 
 
bd7a7e5
 
405fa83
 
 
1
2
3
4
5
6
7
8
9
10
11
import { betterAuth } from '@huggingface/better-auth';
// import { HUGGINGFACE_CLIENT_ID, HUGGINGFACE_CLIENT_SECRET } from '$env/static/private';

export const auth = betterAuth({  
  socialProviders: {
    huggingface: {
      clientId: process.env.HUGGINGFACE_CLIENT_ID!,
      clientSecret: process.env.HUGGINGFACE_CLIENT_SECRET!,
    },
  },
});