mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 22:21:10 +02:00
Add loginWithLoginToken function to exchange Matrix SSO loginToken for credentials. The app layout now detects the loginToken URL parameter and completes the SSO flow. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
18 lines
529 B
TypeScript
18 lines
529 B
TypeScript
import { Module } from '@nestjs/common';
|
|
import { MatrixService } from './matrix.service';
|
|
import { SkilltreeModule } from '../skilltree/skilltree.module';
|
|
import { SessionModule, TranscriptionModule, CreditModule } from '@manacore/bot-services';
|
|
|
|
@Module({
|
|
imports: [
|
|
SkilltreeModule,
|
|
SessionModule.forRoot(),
|
|
TranscriptionModule.register({
|
|
sttUrl: process.env.STT_URL || 'http://localhost:3020',
|
|
}),
|
|
CreditModule.forRoot(),
|
|
],
|
|
providers: [MatrixService],
|
|
exports: [MatrixService],
|
|
})
|
|
export class BotModule {}
|