mod_auth_openid
mod_auth_openid copied to clipboard
mod_auth_openid Error!
Hello, guys! I am a newbie. I recently installed mod_auth_openid under centos5 X86_64. But there is an error, 「There was either no identity provider found for the identity given or there was trouble connecting to it.」 . And there is a message in log file like below: Error while fetching idP location: No more endpoints queued!
I thought it may be involved with ssl and curl(the server where I installed mod_auth_openid uses ssl connection.), and I tried to edit the mod_auth_openid.cpp file, but I failed.
I have spent two days solving the problem, but there is no use. Any ideas? Thank you!!!!
Can you request the identity URL via curl from the webserver? It could be a certificate issue (webserver cannot verify the https connection). And if the identity provider is public can you share the URL so that it can be checked by others
I have this same issue. Also a newbie.
For the sake of this issue, I'll post my config. I started out with a vanilla Ubuntu VM.
/etc/apache2/sites-available/000default.conf
:
<Directory /var/www/html/testdir/>
Options Indexes MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
And in my /var/www/html/testdir/.htaccess
file I have the following:
AuthType OpenID
require valid-user
AuthOpenIDSingleIdP https://www.google.com/accounts/o8/id
When I curl
the endpoint (google) I get a result back. However, it's a 404 page?
When I navigate to the authentication page and I insert my Google profile ( https://plus.google/com/+ChristopheDeTroyer)
The error I get in /etc/apache2/error.log
is the following:
[Wed Feb 22 12:25:10.324705 2017] [core:error] [pid 8027:tid 140143919634176] [client 127.0.0.1:58778] Error while fetching idP location: No more endpoints queued, referer: http://localhost/testdir/?openid_identifier=https%3A%2F%2Fplus.google.com%2F%2BChristopheDeTroyer