diff --git a/apps/examples/nextjs/auth.ts b/apps/examples/nextjs/auth.ts index b33755fc88..a051aa2751 100644 --- a/apps/examples/nextjs/auth.ts +++ b/apps/examples/nextjs/auth.ts @@ -56,11 +56,7 @@ const config = { Apple, // Atlassian, Auth0, - AzureB2C({ - clientId: process.env.AUTH_AZURE_AD_B2C_ID, - clientSecret: process.env.AUTH_AZURE_AD_B2C_SECRET, - issuer: process.env.AUTH_AZURE_AD_B2C_ISSUER, - }), + AzureB2C, BankIDNorway, BoxyHQSAML({ clientId: "dummy", diff --git a/apps/proxy/api/[auth].ts b/apps/proxy/api/[auth].ts index 470919ced2..661070563a 100644 --- a/apps/proxy/api/[auth].ts +++ b/apps/proxy/api/[auth].ts @@ -34,11 +34,7 @@ const authConfig: AuthConfig = { providers: [ Apple, Auth0, - AzureB2C({ - clientId: process.env.AUTH_AZURE_AD_B2C_ID, - clientSecret: process.env.AUTH_AZURE_AD_B2C_SECRET, - issuer: process.env.AUTH_AZURE_AD_B2C_ISSUER, - }), + AzureB2C, BankId, BoxyHQSAML({ clientId: "dummy",