14 lines
491 B
TypeScript
14 lines
491 B
TypeScript
import { credentials } from './auth/providers/credentials'
|
|
import type { AuthProvider } from './auth/providers/_types'
|
|
|
|
/**
|
|
* Active auth providers for this app.
|
|
*
|
|
* Providers are copied from `src/auth/providers/*.ts.inactive` into the
|
|
* active set. Each provider's backend handler reads its secrets via
|
|
* `secrets.getSecret()` (never from `process.env` on the client).
|
|
*/
|
|
export const activeProviders: AuthProvider[] = [credentials]
|
|
|
|
export const primaryProvider = activeProviders[0]
|