mirror of
https://dev.azure.com/globalhealthx/EMR/_git/helix-engage-server
synced 2026-04-11 18:08:16 +00:00
feat: add auth proxy controller for login and token exchange
Adds POST /auth/login and POST /auth/tokens endpoints that proxy GraphQL mutations to the fortytwo-eap-core platform, letting the frontend use only the sidecar URL for authentication. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -2,8 +2,10 @@ import { Module } from '@nestjs/common';
|
||||
import { ConfigModule } from '@nestjs/config';
|
||||
import configuration from './config/configuration';
|
||||
import { AiModule } from './ai/ai.module';
|
||||
import { AuthModule } from './auth/auth.module';
|
||||
import { PlatformModule } from './platform/platform.module';
|
||||
import { ExotelModule } from './exotel/exotel.module';
|
||||
import { CallEventsModule } from './call-events/call-events.module';
|
||||
|
||||
@Module({
|
||||
imports: [
|
||||
@@ -12,8 +14,10 @@ import { ExotelModule } from './exotel/exotel.module';
|
||||
isGlobal: true,
|
||||
}),
|
||||
AiModule,
|
||||
AuthModule,
|
||||
PlatformModule,
|
||||
ExotelModule,
|
||||
CallEventsModule,
|
||||
],
|
||||
})
|
||||
export class AppModule {}
|
||||
|
||||
Reference in New Issue
Block a user