Want to Run Your Own openID Service for Yourself?
Since about 2 minutes, I use phpmyID.
Basically it goes like this:
1. download the files
2. upload the files to your webspace
3. visit the MyID.config.php and remember what it says in the "Realm"; line (e.g. Realm: phpMyID)
4. create your secure md5 hash thingy by executing the following commandline somewhere
$ echo -n ‘username:realm:password' | openssl md5
5. edit that part of the MyID.config.php to match your Data:
$GLOBALS['profile'] = array(
# Basic Config
'auth_username' => 'test',
'auth_password' => '37fa04faebe5249023ed1f6cc867329b',
'auth_realm' => 'phpMyID',
6. edit that part too:
$GLOBALS['sreg'] = array (
# 'nickname' => 'Joe',
# 'email' => '[email protected]',
# 'fullname' => 'Joe Example',
# 'dob' => '1970-10-31',
# 'gender' => 'M',
# 'postcode' => '22000',
# 'country' => 'US',
# 'language' => 'en',
# 'timezone' => 'America/New_York'
);
7. boom, you're done… no making stuff writeable, no database yadda yadday, nothing :)
8. change those two lines to match your setup and insert that stuff in the < head > part of the index page of your webspace:
< link rel="openid.server" href="http://domain.tld/path/MyID.config.php">
< link rel="openid.delegate" href="http://domain.tld/path/MyID.config.php">