Environment
- MWS version: 0.1.14 and latest (as of 2025-06-29)
- TiddlyWiki core documentation lists
authenticated-user-header as a valid parameter for --listen (WebServer tiddler).
Background
Hello, I'm Kuan. I'm building a multi-user internal knowledge base where users belong to different groups and need access to different sets of content. MWS's bag and recipe model is a perfect fit for this, so I'm very grateful for the work you've done so far.
Problem
When starting MWS with:
npx mws listen --listener host=0.0.0.0 port=8080 authenticated-user-header=X-Authenticated-User
the server exits with:
✖ Unrecognized key: "authenticated-user-header"
Expected behavior
MWS should accept the authenticated-user-header parameter, as the standard TiddlyWiki Node.js server does. This would allow integration with reverse proxies that handle authentication (e.g., Nginx + Authelia). For our use case, all users authenticate through the proxy, and we need MWS to recognize the authenticated username from the X-Authenticated-User header. This would enable MWS's ACLs to function correctly and allow us to record editors.
Request
If anyone has suggestions for a workaround or an alternative approach that could work with the current version, I would be very grateful. Thank you for your time and for building MWS!
Environment
authenticated-user-headeras a valid parameter for--listen(WebServer tiddler).Background
Hello, I'm Kuan. I'm building a multi-user internal knowledge base where users belong to different groups and need access to different sets of content. MWS's bag and recipe model is a perfect fit for this, so I'm very grateful for the work you've done so far.
Problem
When starting MWS with:
npx mws listen --listener host=0.0.0.0 port=8080 authenticated-user-header=X-Authenticated-Userthe server exits with:
✖ Unrecognized key: "authenticated-user-header"
Expected behavior
MWS should accept the
authenticated-user-headerparameter, as the standard TiddlyWiki Node.js server does. This would allow integration with reverse proxies that handle authentication (e.g., Nginx + Authelia). For our use case, all users authenticate through the proxy, and we need MWS to recognize the authenticated username from theX-Authenticated-Userheader. This would enable MWS's ACLs to function correctly and allow us to record editors.Request
If anyone has suggestions for a workaround or an alternative approach that could work with the current version, I would be very grateful. Thank you for your time and for building MWS!