Skip to content
Nguyen Ngoc Phuong edited this page Feb 21, 2023 · 2 revisions

Introduction

This library is a simple authentication module for NestJS. It provides a set of authentication strategies and routes to use in your application.

Features

  • Automatically authentication routes generation.
  • Local user register/login (email + password).
  • Refresh token.
  • Forgot password.
  • Reset password.
  • Social authentication (Google, Facebook, Twitter, Github, etc.).
  • JWT authentication.

Supported routers

  • POST /login
  • POST /register
  • GET /confirm
  • POST /forgot-password
  • GET /forgot-password
  • POST /change-password
  • GET /logout
  • POST /refresh
  • GET /me
  • GET /social/sign-in/:provider
  • GET /social/sign-in/:provider/callback
Clone this wiki locally