Skip to content

TaskView is a self-hosted project and task management platform focused on clarity, ownership, and control. TaskView is built for teams that want a transparent, self-hosted alternative to SaaS task managers.

357 B
Raw Blame
import type { Request, Response } from 'express'

export type SsoAuthResult = {
  email: string
  externalId: string
  displayName?: string
  preferredUsername?: string
  provider: string
}

export type SsoProvider = {
  initiateLogin(req: Request, res: Response, relayState?: string): Promise<void>
  handleCallback(req: Request): Promise<SsoAuthResult>
}