/nestjs_auth0

Primary LanguageTypeScript

Nest Logo

A progressive Node.js framework for building efficient and scalable server-side applications.

NPM Version Package License NPM Downloads CircleCI Coverage Discord Backers on Open Collective Sponsors on Open Collective Support us

Description

This repo contains a simple implementation of authorization using Auth0 in NestJS. I have used jwks-rsa to retrieve RSA public keys from a JWKS endpoint and [express-jwt] (https://github.com/auth0/express-jwt) which is a express middleware that validates the JWT's through the jsonwebtoken module.

Installation

$ npm install

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Support

Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please read more here.

Stay in touch

License

Nest is MIT licensed.