diff --git a/.env.example b/.env.example index 694ffe9..396d74e 100644 --- a/.env.example +++ b/.env.example @@ -61,7 +61,7 @@ KNOWLEDGE_CACHE_TTL=300 # Authentication (Authentik OIDC) # ====================== # Set to 'true' to enable OIDC authentication with Authentik -# When enabled, OIDC_ISSUER, OIDC_CLIENT_ID, and OIDC_CLIENT_SECRET are required +# When enabled, OIDC_ISSUER, OIDC_CLIENT_ID, OIDC_CLIENT_SECRET, and OIDC_REDIRECT_URI are required OIDC_ENABLED=false # Authentik Server URLs (required when OIDC_ENABLED=true) diff --git a/apps/web/src/lib/auth-client.test.ts b/apps/web/src/lib/auth-client.test.ts index 33def1c..0dd6fe4 100644 --- a/apps/web/src/lib/auth-client.test.ts +++ b/apps/web/src/lib/auth-client.test.ts @@ -96,7 +96,7 @@ describe("signInWithCredentials", (): void => { expect.objectContaining({ method: "POST", credentials: "include", - body: JSON.stringify({ username: "alice", password: "password123" }), + body: JSON.stringify({ email: "alice", password: "password123" }), }) ); });