[GH-ISSUE #1640] TrueNAS install with Authentik - [next-auth][error][CLIENT_FETCH_ERROR] #1025

Closed
opened 2026-03-02 11:54:29 +03:00 by kerem · 0 comments
Owner

Originally created by @estevez-dev on GitHub (Jun 20, 2025).
Original GitHub issue: https://github.com/karakeep-app/karakeep/issues/1640

Describe the Bug

Authentik OAuth is not working after a fresh TrueNAS install.

Steps to Reproduce

  1. Configure Authentik app and provider for Karakeep as described in Authentik docs.
  2. Find Karakeep app in TrueNAS "Discover apps" section
  3. During the installation, add all the environment variables from Authentik dosc for Karakeep including DISABLE_PASSWORD_AUTH=true and DISABLE_SIGNUPS=true
  4. Observe Karakeep logs and UI

Actual results:

  1. No option to login with Authentik
  2. Error in logs:
[next-auth][error][CLIENT_FETCH_ERROR] 
https://next-auth.js.org/errors#client_fetch_error fetch failed {
error: {
message: 'fetch failed',
stack: 'TypeError: fetch failed\n' +
'    at node:internal/deps/undici/undici:13510:13\n' +
'    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)',
name: 'TypeError'
},
url: 'http://localhost:3000/api/auth/providers',
message: 'fetch failed'

Expected Behaviour

Authentication with Authentik should be available in the UI.

Screenshots or Additional Context

No response

Device Details

Firefox 139.0.4

Exact Karakeep Version

0.25.0

Have you checked the troubleshooting guide?

  • I have checked the troubleshooting guide and I haven't found a solution to my problem
Originally created by @estevez-dev on GitHub (Jun 20, 2025). Original GitHub issue: https://github.com/karakeep-app/karakeep/issues/1640 ### Describe the Bug Authentik OAuth is not working after a fresh TrueNAS install. ### Steps to Reproduce 1. Configure Authentik app and provider for Karakeep as described in [Authentik docs](https://docs.goauthentik.io/integrations/services/karakeep/). 2. Find Karakeep app in TrueNAS "Discover apps" section 3. During the installation, add all the environment variables from [Authentik dosc for Karakeep](https://docs.goauthentik.io/integrations/services/karakeep/) including `DISABLE_PASSWORD_AUTH=true` and `DISABLE_SIGNUPS=true` 4. Observe Karakeep logs and UI Actual results: 1. No option to login with Authentik 2. Error in logs: ``` [next-auth][error][CLIENT_FETCH_ERROR] https://next-auth.js.org/errors#client_fetch_error fetch failed { error: { message: 'fetch failed', stack: 'TypeError: fetch failed\n' + ' at node:internal/deps/undici/undici:13510:13\n' + ' at process.processTicksAndRejections (node:internal/process/task_queues:105:5)', name: 'TypeError' }, url: 'http://localhost:3000/api/auth/providers', message: 'fetch failed' ``` ### Expected Behaviour Authentication with Authentik should be available in the UI. ### Screenshots or Additional Context _No response_ ### Device Details Firefox 139.0.4 ### Exact Karakeep Version 0.25.0 ### Have you checked the troubleshooting guide? - [x] I have checked the troubleshooting guide and I haven't found a solution to my problem
kerem 2026-03-02 11:54:29 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/karakeep#1025
No description provided.