I wanted myself an
OpenID identifier. To sometimes write comments on other sites that allow
OpenID . At first I thought that for this you need to install Wordpress with some kind of plug-in. I was wrong. To create on your site
OpenID provider a rather small
phpMyID library
phpMyID is a single-user identity provider for
OpenID . Installation instructions are in the distribution, but it all comes down to simple. upload two php files
MyID.php and
MyID.config.php and edit
MyID.config.php (Well, or correct first, then upload, to whom it is more convenient). Change the auth_realm parameter to something of your
own (this line will then be at the password prompt in the browser), change the
auth_username to your favorite login, generate a string (I assume that you have access to the shell):
echo -n '_:_realm:_' | openssl md5
Insert the generated string in the parameter
auth_password .
')
For a start, that's all. Now your
OpenID will be
domain.tld / dir / phpMyId.config.php . Check it out.
But I was not satisfied. I corrected the
lighttpd config by adding the urls substitution rule:
url.rewrite-once = (
...
"^/alexey(.*)$" => "/MyID.config.php$1"
...
)
and got yourself an
OpenID :
boyko.km.ua/alexeyYou can add a second user by copying the
phpMyId.config.php file with a different name, and setting up another URL substitution rule in
lighttpd.confDon't forget to read the README from the
phpMyId distribution
.