Skip to content

Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure

TypeScript
539 B
Raw Blame
import { Router } from 'express'
import { K8sGateway } from '../../k8s.js'
import { createAuthCodexSubscriptionRouter } from './codexSubscription.js'
import { createAuthMcpHostRoutes } from './mcp-host/index.js'
import { createAuthRecipeOauthRoutes } from './recipe-oauth/index.js'

export function createAuthRoutes(gateway: K8sGateway): Router {
  const router = Router()
  router.use(createAuthMcpHostRoutes())
  router.use(createAuthCodexSubscriptionRouter(gateway))
  router.use(createAuthRecipeOauthRoutes(gateway))
  return router
}