Background first. I'd like to use TiddlyWiki as a wiki for my project. Partly cooperative, but partly not. Thus would love to have some authentication of editors. There are some constraints - it will be run from arm device and limited thereof. So only JS remains at hand (also Python, Perl, shell) to make an auth proxy. Frankly speaking I just installed it on said arm (with MultiUser plugin using websockets), so have little knowledge of what is under the hood.
I thought about JWT token authentication - are there any ready solutions? (yes, searched the group).
Out of other solutions, I can split traffic to multiple interfaces, so only a set one would be editable (but how to make the other not editable? Disabling buttons does not disable requests).
Looking for suggestions.
I'm ok with JS, so with some guidance can develop solution on my own if needed.