Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to configure Apache as an OpenID provider using simpleid.

I have followed the instructions to the letter till I got to the part about "Claim your identifier".

Now, this is where I am stuck.

Let's say my server is at and my simpleid installation is at, and I have set up an identity john.doe and his identifier URL is

I can go to my server's simpleid login page and login okay. The dashboard there shows me all of the identity details that I have set up and the above identifier on the dashboard.

When I log in using an Open ID test site I get 2 results, neither correct:

Scenario 1

I create a file in /openid/john.doe/index.html so it would be available at with the following contents:

<link rel="openid.server" href="" />
<link rel="openid2.provider" href="" />

When I try to log in to the test website using, I get redirected to the login page by the test site. When I log in using the username/password, it logs me in but complains that the ID I am using is a different one that expected. Game over.

Scenario 2

I remove the file at /openid/johndoe/index.html so that there's nothing at

Now when I try to log in, it logs me in, shows me the various attributes of the identity I used to log in and then gives the following error.

OpenID authentication failed: No matching endpoint found after discovering

I am not sure what I am doing wrong here. Any help will be much appreciated.

PS: I think this should be tagged with simpleid.

share|improve this question

Strangely enough, the solution was to put the HTML content in a file called /openid/john.doe rather than in /openid/john.doe/index.html.

It now works fine.

share|improve this answer

I just stumbled on this question. I have SimpleID working with the following in the index.html that lies at the root of my domain.

<link rel="openid.server" href="" />
<link rel="openid2.provider" href="" />

My OpenID is the URL of my site, If I navigate to that site and View Source in my browser I see the above two lines in the <head> section.

If I navigate to then I am presented with the SimpleID dashboard login and I can log in with the credentials set in my identity file (e.g. and the password that I hashed into the config).

Note the identity in that config needs to be the same as the URL which loads the page where the above <link> tags can be found. If they don't match then it won't work. Perhaps that was the OP's problem...

The other thing to consider is that the latest version of SimpleID says that you need to use https for the SimpleID server.

share|improve this answer
see my answer, you should consider it – asdmin Sep 8 '15 at 9:28

You are fighting with a non-documented feature. You neither need to manually configure the user's identity file, nor to serve it from an independent source.

It is already (properly) served by the SimpleID installation, under simpleid_documentroot/user/username (for example:

For this to work, you'll need to enable SIMPLEID_CLEAN_URL in and configure Apache to use the Rewrite engine (sample for both is included in the example configuration files).

Using this as an authentication URL will solve the problem in the simplest and most reliable way.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.