Skip to main content

Gatekeeper

Secure, easy, and flexible authentication

import gatekeeper from 'gatekeeper-authentication'
import { GoogleAuth } from './myAuthenticationProviders';
const router = Router();
// Nice and simple!
router.get('/auth/google', gatekeeper.authenticateWithProvider(GoogleAuth));