defaultSignInProviders (auth/providers.ts)

airi · packages/stage-ui/src/components/auth/providers.ts · typescript · MIT
auth, tag:embed-classified

Exports default OAuth sign‑in providers for a UI component.

// Source: https://github.com/moeru-ai/airi | License: MIT | Copyright 2024-PRESENT Neko Ayaka
// Provided via justclaw.it.com; keep this notice with the code.
import type { OAuthProvider } from '../../libs/auth'

export interface SignInProviderDefinition {
  id: OAuthProvider
  name: string
  icon: string
}

export const defaultSignInProviders = [
  {
    id: 'google',
    name: 'Google',
    icon: 'i-simple-icons-google',
  },
  {
    id: 'github',
    name: 'GitHub',
    icon: 'i-simple-icons-github',
  },
  {
    id: 'steam',
    name: 'Steam',
    icon: 'i-simple-icons-steam',
  },
] satisfies SignInProviderDefinition[]

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key