Devendra174's picture
Upload folder using huggingface_hub
1e92f2d verified
// @flow
import { Router } from 'express';
import { createSigninRoutes } from './create-signin-routes';
const githubAuthRouter = Router();
const { main, callbacks } = createSigninRoutes('github', {
scope: ['read:user,user:email'],
state: true,
});
githubAuthRouter.get('/', main);
githubAuthRouter.get('/callback', ...callbacks);
export default githubAuthRouter;