[annotator-dev] Problem with tokenUrl and annotator-store

Randall Leeds tilgovi at hypothes.is
Fri Jul 27 00:32:34 UTC 2012


On Jul 26, 2012 7:27 PM, "Kartik Subbarao" <subbarao at computer.org> wrote:
>
> I have the annotator git code available under my standard apache instance
on port 80, and annotator-store running on its own on port 5000.
>
> When I try to bring up http://localhost/dev.html though to try out
annotate-store, I get this error:
>
> Couldn't get auth token:
>
> I see that dev.html specifies tokenUrl as http://localhost:5000/api/token,
however the annotator-store instance doesn't seem to define the /api/token
endpoint. Am I missing something in the configuration for annotator-store?

Not in the annotator-store, but in the store plugin. You need to specify
the tokenUrl option in the Auth plugin.

>
> Thanks,
>
>         -Kartik
>
> _______________________________________________
> annotator-dev mailing list
> annotator-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/annotator-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/annotator-dev/attachments/20120726/9bf8525a/attachment-0002.html>


More information about the annotator-dev mailing list