indieauth-openid

Mirror of http://git.cweiske.de/indieauth-openid.git/

AGPL-3.0 License

Stars
13
Committers
1

IndieAuth to OpenID proxy


Proxies IndieAuth__ authorization requests to one's OpenID__ server.

__ http://indiewebcamp.com/IndieAuth __ http://openid.net/

=====
Setup

  1. Install dependencies

  2. Setup your webserver: make www/ the root (document) directory of the new virtual host

  3. Make data/ world-writable (or at least writable by the web server)

  4. Make sure your website can be used as OpenID identifier

  5. Modify your website and add the following to its <head>::

Configuration

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.

============
Dependencies

  • PHP 5.3+

  • PDO with sqlite3 driver

  • PEAR libraries:

    • Net_URL2
    • OpenID

Installation

Install the dependencies::

$ pear install net_url2-2.2.1
$ pear install openid-alpha

=======
License

indieauth-openid is licensed under the AGPL v3__ or later.

__ http://www.gnu.org/licenses/agpl.html

======
Author

Written by Christian Weiske, [email protected]