You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Christian Weiske c0c82db812 do not use state parameter on auth code verification 5 years ago
data first version 8 years ago
src Make it possible to run indieauth-openid as .phar 5 years ago
www do not use state parameter on auth code verification 5 years ago
.gitignore Make it possible to run indieauth-openid as .phar 5 years ago
LICENSE add LICENSE file 6 years ago
README.rst Make it possible to run indieauth-openid as .phar 5 years ago
build.xml Make it possible to run indieauth-openid as .phar 5 years ago
config.php.dist Make it possible to run indieauth-openid as .phar 5 years ago

README.rst

*************************
IndieAuth to OpenID proxy
*************************

Proxies IndieAuth__ authorization requests to one's OpenID__ server.

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

=====
Setup
=====

0. Install dependencies
1. Setup your webserver: make ``www/`` the root (document) directory of the
new virtual host
2. Make ``data/`` world-writable (or at least writable by the web server)
3. Make sure your website can be used as OpenID identifier
4. Modify your website and add the following to its ``<head>``::

<link rel="authorization_endpoint" href="http://indieauth-openid.example.org/" />


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, cweiske@cweiske.de