Skip to content

⚡️⚡️⚡️ Self-hosted collaborative bookmark manager to collect, read, annotate, and fully preserve what matters, all in one place.

Add configurable HTTP timeout for Authentik provider

Krim27997b8f4b0f
diff --git a/apps/web/pages/api/v1/auth/[...nextauth].ts b/apps/web/pages/api/v1/auth/[...nextauth].ts
index 5743a5e2..1943a30f 100644
--- a/apps/web/pages/api/v1/auth/[...nextauth].ts
+++ b/apps/web/pages/api/v1/auth/[...nextauth].ts
@@ -350,6 +350,9 @@ if (process.env.NEXT_PUBLIC_AUTHENTIK_ENABLED === "true") {
clientId: process.env.AUTHENTIK_CLIENT_ID!,
clientSecret: process.env.AUTHENTIK_CLIENT_SECRET!,
issuer: process.env.AUTHENTIK_ISSUER,
+ httpOptions: {
+ timeout: parseInt(process.env.AUTHENTIK_HTTP_TIMEOUT || "10000", 10),
+ },
profile: (profile) => {
return {
id: profile.sub,