import { Controller, Get } from '@nestjs/common';
import { buildSsoDiscovery, type SsoProviderDiscovery } from '@mosaicstack/auth';

@Controller('api/sso/providers')
export class SsoController {
  @Get()
  list(): SsoProviderDiscovery[] {
    return buildSsoDiscovery();
  }
}
