NestJS API
Protect a NestJS API with Authgear using the @authgear/nestjs SDK
Setting Up Your Application in Authgear
Step 1: Enable JWT access tokens
Building Your NestJS Application
Step 1: Create a NestJS Project
Step 2: Install the Authgear SDK
Step 3: Configure Environment Variables
Step 4: Register the Authgear Module
Step 5: Protect Your Routes
Running the Application
Testing the Integration
Module Options
Option
Type
Required
Default
Description
Next Steps
PreviousForward Authentication to Authgear Resolver EndpointNextMachine-to-Machine (M2M) Applications
Last updated
Was this helpful?