15 lines
534 B
TypeScript
15 lines
534 B
TypeScript
import { auth0 } from './auth/providers/auth0'
|
|
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 — the Fabric console's auth browser runs this as a plan.
|
|
* Each provider's backend handler reads its secrets via
|
|
* `secrets.getSecret()` (never from `process.env` on the client).
|
|
*/
|
|
export const activeProviders: AuthProvider[] = [auth0]
|
|
|
|
export const primaryProvider = activeProviders[0]
|