Put in order · NestJS course · Module 4: Authentication

AuthModule registration

Order the AuthModule configuration elements from imports to exports

Items to put in order

  • imports: [JwtModule.registerAsync(jwtConfig), PassportModule]
  • providers: [AuthService, JwtStrategy, LocalStrategy]
  • @Module({
  • exports: [AuthService, JwtModule]
  • })

You can check the correct answer by solving this task in the CodeWorlds game.