Auth Token Übersendung eingebaut
This commit is contained in:
@@ -15,6 +15,7 @@ import { MailModule } from './mail/mail.module.js';
|
||||
import { RequestDurationMiddleware } from './request-duration/request-duration.middleware.js';
|
||||
import { SelectOptionsModule } from './select-options/select-options.module.js';
|
||||
|
||||
import { PassportModule } from '@nestjs/passport';
|
||||
import { UserModule } from './user/user.module.js';
|
||||
|
||||
const __filename = fileURLToPath(import.meta.url);
|
||||
@@ -41,11 +42,19 @@ const __dirname = path.dirname(__filename);
|
||||
],
|
||||
// other options
|
||||
}),
|
||||
// KeycloakConnectModule.register({
|
||||
// authServerUrl: 'http://auth.bizmatch.net',
|
||||
// realm: 'dev',
|
||||
// clientId: 'dev',
|
||||
// secret: 'Yu3lETbYUphDiJxgnhhpelcJ63p2FCDM',
|
||||
// // Secret key of the client taken from keycloak server
|
||||
// }),
|
||||
GeoModule,
|
||||
UserModule,
|
||||
ListingsModule,
|
||||
SelectOptionsModule,
|
||||
ImageModule,
|
||||
PassportModule,
|
||||
],
|
||||
controllers: [AppController],
|
||||
providers: [AppService, FileService],
|
||||
|
||||
Reference in New Issue
Block a user