-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow syncing to a private Tiddly Host #69
Comments
If TiddlyHost can (or can be made to) accept HTTP basic auth with a direct link to a wiki, you should be able to use the URL type in TiddlyRemember and include the username and password in the URL with the Alternatively, if there's some other login mechanism that doesn't require user interaction, or again, if someone adds it to TiddlyHost (probably a great idea if there isn't one), we could add a wiki type specifically for TiddlyHost – that seems fairly reasonable. |
As far as I can tell, tiddlyhost requires you to log into an account with it, where it gives you a cookie. Without this cookie you can't view the TiddlyWiki page. Like I thought this may need some collaboration with tiddlyhost. |
Opened an issue tiddlyhost/tiddlyhost-com#223 |
It's not an ideal solution, and I do prefer the idea of creating a token for access to a particular site, but it is possible to script the current Tiddlyhost authentication. https://github.com/simonbaird/tiddlyhost/blob/main/examples/thost-downloader shows how it can be done. |
Right now it just returns 401 unauthorized error. I'm not 100% sure of a solution. Maybe I could somehow give it a cookie or maybe tiddlyhost needs to add an API.
The text was updated successfully, but these errors were encountered: