Skip to content
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

Open
CountingBeeps opened this issue Apr 16, 2022 · 4 comments
Open

Allow syncing to a private Tiddly Host #69

CountingBeeps opened this issue Apr 16, 2022 · 4 comments

Comments

@CountingBeeps
Copy link

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.

@sobjornstad
Copy link
Owner

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 user:password@domain notation.

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.

@CountingBeeps
Copy link
Author

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.

@CountingBeeps
Copy link
Author

Opened an issue tiddlyhost/tiddlyhost-com#223

@simonbaird
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants