tiddlyhost / tiddlyhost-com

Rails application for creating and hosting TiddlyWiki sites, plus resources for deploying it to https://tiddlyhost.com/
Other
184 stars 17 forks source link

Allow accessing a private wiki with API key or similar mechanism #223

Closed GameDungeon closed 1 year ago

GameDungeon commented 2 years ago

The plugin tiddlyremember allows users to sync anki with tiddlywiki. The issue is with a private wiki tiddlyremember's request is rejected do not being logged in. Could you add a way to allow requests like this through?

simonbaird commented 2 years ago

I think it's a good suggestion. I like the idea of being able to create a token, perhaps with an expiration date, to allow either write permission, or view access to a private site.

simonbaird commented 2 years ago

FWIW https://github.com/simonbaird/tiddlyhost/blob/main/examples/thost-downloader shows how to script the current Tiddlyhost authentication.

simonbaird commented 2 years ago

Somewhat related to #72 in that the token creation could be the same.

simonbaird commented 1 year ago

I want to close this since it's just about identical to #246. For your use case, you just need view only access, right?