Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mod_auth_openid Error! #54

Open
DreamOfAlexander opened this issue Sep 10, 2013 · 2 comments
Open

mod_auth_openid Error! #54

DreamOfAlexander opened this issue Sep 10, 2013 · 2 comments

Comments

@DreamOfAlexander
Copy link

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!!!!

@osteenbergen
Copy link
Contributor

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

@m1dnight
Copy link

m1dnight commented Feb 22, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants