REMOTE_USER not set
Opened this issue · 0 comments
Hi, I can't get the REMOTE_USER after successfully authenticating with google/yahoo.
I compiled with --enable-debug.
If I DO NOT set "AuthOpenIDAXUsername email" i get this in error.log
[Sat Aug 04 23:07:05 2012] [debug] mod_auth_openid.cpp(578): [client 84.114.190.180] *** mod_auth_openid 0.7 module has been called *** [Sat Aug 04 23:07:08 2012] [debug] mod_auth_openid.cpp(578): [client 84.114.190.180] *** mod_auth_openid 0.7 module has been called ***, referer: http://www.spatialmood.com/login?modauthopenid.referrer=http%3A%2F%2Fwww.spatialmood.com%2Fads%3F [Sat Aug 04 23:07:08 2012] [debug] mod_auth_openid.cpp(361): [client 84.114.190.180] identity = https://www.google.com/accounts/o8/id, use_single_idp = false, referer: http://www.spatialmood.com/login?modauthopenid.referrer=http%3A%2F%2Fwww.spatialmood.com%2Fads%3F [Sat Aug 04 23:07:12 2012] [debug] mod_auth_openid.cpp(578): [client 84.114.190.180] *** mod_auth_openid 0.7 module has been called *** [Sat Aug 04 23:07:13 2012] [debug] mod_auth_openid.cpp(432): [client 84.114.190.180] Setting cookie after authentication of user https://www.google.com/accounts/o8/id?id=AItOawkeu45eeCoiCJ1wZnd3J_hIAu8CeBlz9zA [Sat Aug 04 23:07:14 2012] [debug] mod_auth_openid.cpp(578): [client 84.114.190.180] *** mod_auth_openid 0.7 module has been called *** [Sat Aug 04 23:07:14 2012] [debug] mod_auth_openid.cpp(342): [client 84.114.190.180] setting REMOTE_USER to https://www.google.com/accounts/o8/id?id=AItOawkeu45eeCoiCJ1wZnd3J_hIAu8CeBlz9zA
And if DO set "AuthOpenIDAXUsername email" I get this:
[Sat Aug 04 23:18:06 2012] [debug] mod_auth_openid.cpp(578): [client 84.114.190.180] *** mod_auth_openid 0.7 module has been called *** [Sat Aug 04 23:18:09 2012] [debug] mod_auth_openid.cpp(578): [client 84.114.190.180] *** mod_auth_openid 0.7 module has been called ***, referer: http://www.spatialmood.com/login?modauthopenid.referrer=http%3A%2F%2Fwww.spatialmood.com%2Fads%3F [Sat Aug 04 23:18:09 2012] [debug] mod_auth_openid.cpp(361): [client 84.114.190.180] identity = https://www.google.com/accounts/o8/id, use_single_idp = false, referer: http://www.spatialmood.com/login?modauthopenid.referrer=http%3A%2F%2Fwww.spatialmood.com%2Fads%3F [Sat Aug 04 23:18:17 2012] [debug] mod_auth_openid.cpp(578): [client 84.114.190.180] *** mod_auth_openid 0.7 module has been called *** [Sat Aug 04 23:18:19 2012] [debug] mod_auth_openid.cpp(432): [client 84.114.190.180] Setting cookie after authentication of user https://www.google.com/accounts/o8/id?id=AItOawkeu45eeCoiCJ1wZnd3J_hIAu8CeBlz9zA [Sat Aug 04 23:18:19 2012] [debug] mod_deflate.c(615): [client 84.114.190.180] Zlib: Compressed 313 to 234 : URL /ads [Sat Aug 04 23:18:19 2012] [debug] mod_auth_openid.cpp(578): [client 84.114.190.180] *** mod_auth_openid 0.7 module has been called *** [Sat Aug 04 23:18:19 2012] [debug] mod_auth_openid.cpp(342): [client 84.114.190.180] setting REMOTE_USER to [Sat Aug 04 23:18:19 2012] [debug] mod_deflate.c(615): [client 84.114.190.180] Zlib: Compressed 2884 to 1244 : URL /index.php [Sat Aug 04 23:18:20 2012] [debug] mod_deflate.c(615): [client 84.114.190.180] Zlib: Compressed 522 to 344 : URL /index.php
My apache config looks like this:
<Location /ads> AuthType OpenID require valid-user AuthOpenIDAXUsername email AuthOpenIDLoginPage /login </Location>
and i do have set these form fields:
<input id="openid_identifier" name="openid_identifier" type="text" value="http://" /> <input type="hidden" name="openid.ns.ext1" value="http://openid.net/srv/ax/1.0" /> <input type="hidden" name="openid.ext1.mode" value="fetch_request" /> <input type="hidden" name="openid.ext1.type.email" value="http://axschema.org/contact/email" /> <input type="hidden" name="openid.ext1.required" value="email" /> <input id="openid_submit" type="submit" value="Sign-In"/>
Am I missing something or is this a bug?
I am using version 0.7.
thanks.