import { Module } from '@nestjs/common'; import { JwtModule } from '@nestjs/jwt'; import { UsersModule } from '../../users/users.module'; import { SsoService } from './sso.service'; // SsoController lives in AuthModule (not here) because it also depends on // AuthService, which only AuthModule provides - keeping the controller here // would require a circular import between AuthModule and SsoModule. @Module({ imports: [JwtModule.register({}), UsersModule], providers: [SsoService], exports: [SsoService], }) export class SsoModule {}