Skip to main content

Gatekeeper

A secure, flexible, and very easy-to-use authentication module for your Express applications.

Nice and simple ✔️

This is what your authentication routes will look like after setting up Gatekeeper.

import gatekeeper from 'gatekeeper-authentication';
import { GoogleAuth } from './myAuthenticationProviders';

const router = Router();

// Nice and simple!
router.get('/auth/google', gatekeeper.authenticateWithProvider(GoogleAuth));

Beloved features

  • Secure, easy-to-use, and flexible 🌟 - Effortless integration that adapts to your needs

  • Async/await 🌀 - Say goodbye to callbacks (very present in old authentication modules, like passport.js)

  • Typescript support 🔷 - Gatekeeper supports and implements Typescript types

  • Pre-built providers 🔒 - Don't worry about implementing the most famous authentication providers -- We got you covered 😉

  • Rich documentation 📚 - Our docs have everything you need (compared to other authentication modules who have little to no documentation...) and they also were carefully built with a lot of love!

If you are familiar with authentication and feel confident enough, you can visit our Synopsis page.

If you want to follow a step-by-step guide that will allow you to better understand the core concepts behind Gatekeeper, go to Getting Started to start using Gatekeeper in your project!