SSO implementiert
This commit is contained in:
@@ -7,6 +7,7 @@ import { RefreshTokenEntity } from './refresh-token.entity';
|
||||
import { AuthService } from './auth.service';
|
||||
import { JwtAuthGuard } from './jwt-auth.guard';
|
||||
import { McpAuthGuard } from './mcp-auth.guard';
|
||||
import { OidcService } from './oidc.service';
|
||||
import { UserEntity } from './user.entity';
|
||||
|
||||
@Module({
|
||||
@@ -16,7 +17,7 @@ import { UserEntity } from './user.entity';
|
||||
TypeOrmModule.forFeature([UserEntity, RefreshTokenEntity]),
|
||||
],
|
||||
controllers: [AuthController],
|
||||
providers: [AuthService, JwtAuthGuard, McpAuthGuard],
|
||||
providers: [AuthService, OidcService, JwtAuthGuard, McpAuthGuard],
|
||||
exports: [AuthService, JwtAuthGuard, McpAuthGuard],
|
||||
})
|
||||
export class AuthModule {}
|
||||
|
||||
Reference in New Issue
Block a user