File size: 321 Bytes
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: HUGGINGFACE_CLIENT_ID,
      clientSecret: HUGGINGFACE_CLIENT_SECRET,
    },
  },
});