IndieAuth to OpenID proxy
Proxies IndieAuth__ authorization requests to one's OpenID__ server.
__ http://indiewebcamp.com/IndieAuth __ http://openid.net/
Install dependencies
Setup your webserver: make www/
the root (document) directory of the
new virtual host
Make data/
world-writable (or at least writable by the web server)
Make sure your website can be used as OpenID identifier
Modify your website and add the following to its <head>
::
A sqlite file data/tokens.sq3
is created by indieauth-openid.
To configure that path, copy config.php.dist
to config.php
and
adjust it.
If you're using the .phar
file, append .config.php
to the full
file name - e.g. indieauth-openid-0.1.0.phar.config.php
.
PHP 5.3+
PDO with sqlite3 driver
PEAR libraries:
Install the dependencies::
$ pear install net_url2-2.2.1
$ pear install openid-alpha
indieauth-openid
is licensed under the AGPL v3
__ or later.
__ http://www.gnu.org/licenses/agpl.html
Written by Christian Weiske, [email protected]