diff --git a/app/server/lib/OIDCConfig.ts b/app/server/lib/OIDCConfig.ts index fa432384b0..ae6b6527e4 100644 --- a/app/server/lib/OIDCConfig.ts +++ b/app/server/lib/OIDCConfig.ts @@ -168,7 +168,7 @@ export class OIDCConfig { } export async function getOIDCLoginSystem(): Promise { - if (!process.env.GRIST_OIDC_SP_HOST) { return undefined; } + if (!process.env.GRIST_OIDC_IDP_ISSUER) { return undefined; } return { async getMiddleware(gristServer: GristServer) { const config = new OIDCConfig();