SimpleID is a simple, personal OpenID provider written in PHP.


For this guide you should be familiar with the basic concepts of


We’re using PHP in the stable version 8.0:

[isabell@stardust ~]$ uberspace tools version show php
Using 'PHP' version: '8.0'
[isabell@stardust ~]$

Your URL needs to be setup for web:

[isabell@stardust ~]$ uberspace web domain list
[isabell@stardust ~]$


Download & Extract

cd to your document root, respectively the folder above, because not all files must/should be accessible via web, then download the latest release of SimpleID and extract it:


The link to the latest version can be found at SimpleID’s download page.

[isabell@stardust ~]$ cd /var/www/virtual/$USER/
[isabell@stardust isabell]$ wget
[isabell@stardust isabell]$ tar -xzf simpleid-42.23.1.tar.gz
[isabell@stardust ~]$

Copy empty configuration

[isabell@stardust isabell]$ cp /var/www/virtual/$USER/simpleid/www/config.php.dist /var/www/virtual/$USER/simpleid/www/config.php
[isabell@stardust ~]$


[isabell@stardust isabell]$ rm simpleid-42.23.1.tar.gz
[isabell@stardust ~]$


Define Base URL

Edit file /var/www/virtual/$USER/simpleid/www/config.php. The only change you really have to do is changing the SIMPLEID_BASE_URL, the other options are optional.


Replace <username> with your Uberspace username!

define('SIMPLEID_BASE_URL', 'https://<username>');

In our example this would be:

define('SIMPLEID_BASE_URL', '');

Create identity

You will need to create an identify file for every user of your SimpleID installation.


Replace <username> with the username you want to use for your SimpleID identity!

[isabell@stardust isabell]$ cp /var/www/virtual/$USER/simpleid/identities/example.identity.dist /var/www/virtual/$USER/simpleid/identities/<username>.identity
[isabell@stardust ~]$

Before editing this file, we need to create a password/salt pair.

There are several ways to go, using the MD5, SHA1 and SHA256 algorithm and an optional salt. In this example we will use the SHA256 algorithm with a random salt.

First we’ll generate a random salt to make this secure as possible. You are free to use any string as salt.

[isabell@stardust ~]$ pwgen 32 1
[isabell@stardust ~]$

With this generated hash and your password in mind we can create the SHA256 hash with 100,000 iterations for the identity file.


Replace <password> with your password, and <salt> with the generated salt or the one you decided to chose.

[isabell@stardust ~]$ php -r 'echo hash_pbkdf2("sha256", "<password>", "<salt>", 100000).PHP_EOL;'
[isabell@stardust ~]$

With our example values this would be

[isabell@stardust ~]$ php -r 'echo hash_pbkdf2("sha256", "MySuperSecretPassword", "MySuperSecretSalt", 100000).PHP_EOL;'
[isabell@stardust ~]$

Then open the identity file you copied before to /var/www/virtual/$USER/simpleid/identities/<username>.identity in your favorite editor.

Search for the pass line and edit it as described.


In our example we would use this passline:


Since this is our first user, it should be set as administrator by changing


to (remove the ;)


The last thing is to set an identifier using an unique URL.


Replace <username> with your Uberspace username!


This will be the URL you’ll have to use for registering with websites. We’ll create the folder and fill it in a later step. In this example we will use:



Don’t forget the closing / or you’ll get an error if you try to use the identity.

After saving the file, you should be able login for the first time at your SimpleID installation located at the defined Base URL https://<username>

Create identifier

For finally using this identity you’ll need to create a file at the URL we’ve defined in the .identity file.

[isabell@stardust ~]$ mkdir ~/html/openid
[isabell@stardust ~]$

Create the file ~/html/openid/index.htm with the following content:

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

You are now ready to use your own OpenID provider. Just make sure you are using the right URL for authentication, https://<username>



Check the update feed regularly to stay informed about the newest version.

Follow the steps described in the UPGRADE.txt shipped with the newest version. There all steps described you’ll have to perform to update your installation.

Tested with SimpleID 1.0.3, Uberspace 7.13.0, and PHP 8.0

Written by: Philipp Wensauer <>