[annotator-dev] annotator and authentication

Graham Hukill ghukill at gmail.com
Mon Jan 27 22:06:34 UTC 2014


Let me get one thing out of the way, the annotator javascript library, and
python store backend, are amazing.  Just exactly what I've been looking
for.  I've got kind of a general question.

I've successfully implemented the JS plugin, using the annotator-store
python / flask backend to store the annotations.  For the annotator-store,
I did it just about as vanilla as possible, firing up "run.py" and letting
her go.  I'm wondering, given a username client-side, what is the easiest
way to pass this username to the annotator-store to associate with the
annotations?

I've poked around a bit, seen the g.user field, defined by MockUser
function, etc. etc.  I'm just wondering what a low barrier option for
passing a username to this would be, aka, where I can catch a request.form
variable and associate it.

Many thanks in advance - I realize it's a general question, just trying to
wrap my head around where to focus.

-Graham
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/annotator-dev/attachments/20140127/474f2d45/attachment-0003.html>


More information about the annotator-dev mailing list