Re: [Koha] OAuth2

2015-04-21 Thread Daniel Owens
On 4/21/15 12:22 PM, Robin Sheat wrote: Daniel Owens schreef op di 21-04-2015 om 10:50 [+0700]: It turned out that my googleoauth2 file was missing #! /usr/bin/perl in the header, and instead had a partial email address. I am guessing that was due to my own misapplying the patch or something,

Re: [Koha] OAuth2

2015-04-20 Thread Robin Sheat
Daniel Owens schreef op ma 20-04-2015 om 08:22 [+0700]: I do not recall modifying any of the mods-enabled files, and nothing in apache2.conf indicates any includes like that. Furthermore, after a server restart, I see no errors at all in the Apache error log. Then what do you see? How do

Re: [Koha] OAuth2

2015-04-20 Thread Robin Sheat
Daniel Owens schreef op di 21-04-2015 om 07:15 [+0700]: As I read this, the first error has to do with a permission problem, but I have no idea how to fix it. The first two are caused by the same thing: your googleoauth2 file isn't executable. You'll need to chmod +x it. The second and

Re: [Koha] OAuth2

2015-04-20 Thread Robin Sheat
Daniel Owens schreef op di 21-04-2015 om 06:13 [+0700]: I get error 500. See http://koha.theology-vietnam.org/cgi-bin/koha/svc/googleoauth2. It should be logging somewhere, whether that's in /var/log/koha/instancename/opac-error.log (most likely if you've installed with packages), or somewhere

Re: [Koha] OAuth2

2015-04-20 Thread Daniel Owens
On 4/21/15 6:51 AM, Robin Sheat wrote: Daniel Owens schreef op di 21-04-2015 om 06:13 [+0700]: I get error 500. See http://koha.theology-vietnam.org/cgi-bin/koha/svc/googleoauth2. It should be logging somewhere, whether that's in /var/log/koha/instancename/opac-error.log (most likely if

Re: [Koha] OAuth2

2015-04-20 Thread Daniel Owens
On 4/21/15 4:51 AM, Robin Sheat wrote: Daniel Owens schreef op ma 20-04-2015 om 08:22 [+0700]: I do not recall modifying any of the mods-enabled files, and nothing in apache2.conf indicates any includes like that. Furthermore, after a server restart, I see no errors at all in the Apache error

Re: [Koha] OAuth2

2015-04-20 Thread Robin Sheat
Daniel Owens schreef op di 21-04-2015 om 10:50 [+0700]: It turned out that my googleoauth2 file was missing #! /usr/bin/perl in the header, and instead had a partial email address. I am guessing that was due to my own misapplying the patch or something, but if anyone else has this

Re: [Koha] OAuth2

2015-04-20 Thread Daniel Owens
On 4/21/15 8:07 AM, Robin Sheat wrote: Daniel Owens schreef op di 21-04-2015 om 07:15 [+0700]: As I read this, the first error has to do with a permission problem, but I have no idea how to fix it. The first two are caused by the same thing: your googleoauth2 file isn't executable. You'll

Re: [Koha] OAuth2

2015-04-19 Thread Robin Sheat
Daniel Owens schreef op vr 17-04-2015 om 10:13 [+0700]: I followed the instructions at http://wiki.koha-community.org/wiki/Alternative_OPAC_logins_RFC#Instructions_for_setting_up_OAuth2_.28Google.29_using_a_patch_file. Did you do anything else? Because: PHP Warning: PHP Startup: Unable

Re: [Koha] OAuth2

2015-04-19 Thread Daniel Owens
On 4/20/15 5:37 AM, Robin Sheat wrote: Daniel Owens schreef op vr 17-04-2015 om 10:13 [+0700]: I followed the instructions at http://wiki.koha-community.org/wiki/Alternative_OPAC_logins_RFC#Instructions_for_setting_up_OAuth2_.28Google.29_using_a_patch_file. Did you do anything else? Because:

Re: [Koha] OAuth2

2015-04-19 Thread Daniel Owens
Robin, Before I forget, thanks for this tip. I am working through your suggestions. Daniel On 4/20/15 5:37 AM, Robin Sheat wrote: Daniel Owens schreef op vr 17-04-2015 om 10:13 [+0700]: I followed the instructions at

[Koha] OAuth2

2015-04-18 Thread Daniel Owens
I am using Koha 3.16.04.000. I am very interested in getting Koha to use OAuth2 for patron login since we use Google Apps for Education. I have two different instances of Koha running, so I have been testing using the one that is not mission critical. I followed the instructions at