plugin logo
JWT Auth Provider
Install Plugin

@amplication/plugin-auth-jwt

NPM Downloads

Enable JWT authentication on a service

Purpose

This plugin adds the required code to use Passport JWT strategy on the generated NestJS application

Configuration

None

Usage

This plugin is integrated with the default behavior of the service by changing the defaultAuth.guard.ts file in the auth folder, so all guards on REST API controllers and GraphQL API resolvers will use this authentication by default.

Get started with Amplication and JWT Auth Provider