[tw] Hosted TiddlyWiki advice.

2014-07-09 Thread 9600
Hello,

I'd like to set up multi-user TiddlyWiki hosting on my own server and would 
appreciate some advice as to which route I should take. This will be mainly 
for organising my own stuff, but I'd also like the ability to create 
additional secure wiki instances for customers/projects. I quite fancy 
using TiddlyWiki 5, and beyond straightforward wikis there is the 
possibility that I might want to create simple apps, e.g. for managing 
small scale manufacturing, tracking inventory and tasks etc.

So, I'm not sure whether I should be setting up a Tank server, or perhaps 
simply a TiddlyWebWiki (had this set up previously and seemed to work 
well). I believe that the node.js app may not be well suited to multi-user 
use.

Cheers,

Andrew

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] TiddlyWeb OAuth plugin setup.

2016-09-19 Thread 9600
Hello,

Posting here as the TiddlyWeb group looks a bit on the quiet side, but let 
me know if I should be using that instead.

Trying to get tiddlywebplugins.oauth working and in my config I have:

config = {
'server_host': {
'scheme': 'https',
'host': 'my.server.com',
'port': '443',
},
'system_plugins': ['tiddlywebwiki', 'tiddlywebplugins.urls', 
'tiddlywebplugins.form', 'tiddlywebplugins.oauth'],
'log_level': 'DEBUG',
'secret': '#',
'twanager_plugins': ['tiddlywebwiki', 'tiddlywebplugins.urls'],
'tiddlywebwiki.friendlywiki': False,
'bag_create_policy': 'ADMIN',
'recipe_create_policy': 'ADMIN',
'oauth.servers': {
'github': {
   'auth_uri': 'https://github.com/login/oauth/authorize',
   'token_uri': 'https://github.com/login/oauth/access_token',
   'redirect_uri': 'https://my.server.com',
   'client_id': '###',
   'client_secret': '###',
}
}
}

Using the client_id and client_secret as configured at GitHub.

Two questions:

1. What do I need to configure in the store to map a GitHub account to a 
local user?
2. How do I make it so that unauthenticated requests get bounced off to 
GitHub to auth instead of getting the cookie login form?

Cheers,

Andrew

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/7201a2e6-d598-46ac-9601-d62faaddc1e4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.