[annotator-dev] Integrating Site With AnnotateIt Store

King'ori J. Maina j at kingori.co
Tue Jul 29 05:39:20 UTC 2014


Final piece of information … just to be absolutely clear on everything ...

Replace this … "<TOKEN_FOR_TESTING_THAT_LASTS_FOR_A_DAY>" … with the actual token generated by the server side scripts. The TTL is set to 86400 which is a day.

Oh and also I’ve verified the validity of the JSON Web Token generated using http://jwt.io which is a JWT debugger.

Unless the 2012 issue is back, I can’t figure out what I could be doing wrong. In the thread Nick mentioned that it was introduced due to an upgrade of ElasticSearch. I dunno.

— King’ori Maina (kingori.co)

> On Jul 29, 2014, at 12:30 AM, Warren Block <wblock at wonkity.com> wrote:
> 
> On Mon, 28 Jul 2014, King'ori J. Maina wrote:
> 
>> Hi all,
>> Figured I?d make a gist on GitHub showing how to integrate AnnotatorJS with the AnnotateIt Store ? it?s nothing out of the ordinary.
>> https://gist.github.com/itsmrwave/6f4696f668264383900c
>> Regardless, it has two examples (Python and Ruby) for the server side with commentary and it?s overly verbose ? I hope this makes it easy for anyone out there who would like a good picture
>> of how everything fits in together. I kinda had to piece things together.
> 
> Same boat here, thank you very much.  Just to verify: use either program to generate a token, replace it in the HTML, serve the HTML, and it Just Works?
> 
> Thanks!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/annotator-dev/attachments/20140729/081cdffb/attachment-0004.html>


More information about the annotator-dev mailing list