Linkwarden widget in Homepage does not support JWT tokens from latest Linkwarden #6354
Replies: 2 comments
|
There’s literally no mention of it in their release notes. Assuming it’s a breaking change it would have to eventually be handled on our side by the homepage widget. that said, the suspicious thing about your report is that your curl suggests no change to how the key is expected and that’s what we already do: |
0 replies
|
This discussion has been automatically closed due to inactivity. See our contributing guidelines for more details. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Description
Homepage's Linkwarden widget fails to connect when using the latest Linkwarden (v3+) Access Tokens (JWT starting with "eyJ...").
curl -H "Authorization: Bearer eyJ..." http://10.10.10.226:3008/api/v1/collections
icon: linkwarden.webp
href: http://10.10.10.226:3008
widget:
type: linkwarden
url: http://10.10.10.226:3008
key: eyJhbGciOiJ...
Expected: Homepage should accept JWT tokens generated by the latest Linkwarden and display collections correctly.
Notes: This seems to be a compatibility issue, as Homepage currently only supports the old
lw_style API tokens.homepage version
v1.10.1 (0ce175c,
Installation method
Docker
Configuration
Container Logs
}
]
[2026-02-23T01:36:37.034Z] error: HTTP Error 500 calling http://10.10.10.226:3008/api/v1/collections
[2026-02-23T01:36:37.036Z] error: Error calling http://10.10.10.226:3008/api/v1/tags...
[2026-02-23T01:36:37.036Z] error: [
500,
Error: connect ETIMEDOUT 10.10.10.226:3008
}
]
[2026-02-23T01:36:37.037Z] error: HTTP Error 500 calling http://10.10.10.226:3008/api/v1/tags
[2026-02-23T01:40:54.513Z] error: Error calling http://10.10.10.225:2283/api/server/version...
[2026-02-23T01:40:54.514
Browser Logs
No response
Troubleshooting
Issue Summary:
The Linkwarden widget in Homepage fails to connect when using the latest Linkwarden (v3+) Access Tokens, which are JWT tokens starting with "eyJ...".
Steps Taken to Troubleshoot:
Verified Linkwarden is running and accessible:
curl http://10.10.10.226:3008/api/v1/collections
Response: {"response":"You must be logged in."} (expected for unauthenticated requests)
Tested the JWT token directly:
curl -H "Authorization: Bearer eyJ..." http://10.10.10.226:3008/api/v1/collections
Response: JSON data successfully returned.
✅ This confirms the token is valid and the API works.
Configured Homepage widget in services.yaml:
icon: linkwarden.webp
href: http://10.10.10.226:3008
widget:
type: linkwarden
url: http://10.10.10.226:3008
key: eyJhbGciOiJ...
docker restart homepage
Observed Behavior:
Expected Behavior:
Environment:
Notes:
lw_style API tokens.All reactions