[annotator-dev] X-Annotator-User-Id is not allowed by Access-Control-Allow-Headers
Rufus Pollock
rufus.pollock at okfn.org
Wed Mar 28 08:06:53 UTC 2012
On 27 March 2012 14:22, Nick Stenning <nick at whiteink.com> wrote:
> Andrea, Johnny, Randall,
>
> The Wordpress plugin was Andrea's creation, and lives at
>
> https://github.com/okfn/annotator-wordpress
>
> What needs doing is probably pretty simple. I've had a quick glance at
> the code just now, and it seems that the plugin supports what I'll
> call the Terrifying Authentication Method that we've now deprecated.
>
> Really, all it should now need to do is inject the appropriate CSS/JS
> into the page, as it doesn't support token generation. That means that
> it'll allow AnnotateIt users to annotate your pages.
>
> Later, if possible, we should look into adding a "consumer mode," in
> which authenticated WP users can have tokens generated for them.
Understood. The crucial thing would be supporting the existing config
on what pages to annotate (selected by regex I believe) and for the
selection of the section of the page to annotate (we don't want to be
annotating the whole page). Support for Wordpress users versus
annotate users could then be the next step (definitely desirable I
would imagine especially as it would allow for much fuller
"adminning".
Rufus
> -N
>
> On Mon, Mar 26, 2012 at 01:45, Randall Leeds <tilgovi at hypothes.is> wrote:
>> On Mar 25, 2012 3:05 PM, "johnny jiang" <johnny.nan.jiang at gmail.com> wrote:
>>>
>>> Hi Andrea,
>>>
>>> I got the message from Chrome Console, I was wondering if there are some
>>> changes introduced in the backend storage recently?
>>
>> I don't know if these changes are live, but the repository has new code for
>> authentication which is documented here:
>> https://github.com/okfn/annotator/wiki/Authentication.
>>
>> This new system should provide suitably verifiable tokens that are easy to
>> work with, generate, expire, etc.
>>
>> I don't know anything about the WP plugin but I'm happy to help if anyone
>> runs into trouble updating it. It's something I'd like to look into using
>> myself.
>>
>> -Randall
>>
>>
>> _______________________________________________
>> annotator-dev mailing list
>> annotator-dev at lists.okfn.org
>> http://lists.okfn.org/mailman/listinfo/annotator-dev
>>
>
> _______________________________________________
> annotator-dev mailing list
> annotator-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/annotator-dev
--
Co-Founder, Open Knowledge Foundation
Promoting Open Knowledge in a Digital Age
http://www.okfn.org/ - http://blog.okfn.org/
More information about the annotator-dev
mailing list