Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

NLJ2013/auth-service

Repository files navigation

Auth Service

Description

This is a fully functional auth service covering most of the auth requirements written in NestJS that provides JWT authentication and refresh token management. signup and signin are implemented with passport-local strategy and JWT authentication is implemented with passport-jwt strategy.

Features

  • Local authentication
  • JWT authentication
  • Refresh token management
  • Refresh token rotation
  • User registration and login
  • Password hashing and validation

Installation

npm install

Running the app

npm run start:dev

Routes

POST /signup

POST /login

POST /refresh

About

A fully functional auth service covering most of the auth requirements written in NestJS that provides JWT authentication and refresh token management.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors

AltStyle によって変換されたページ (->オリジナル) /