Skip to content

cweiske/indieauth-openid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IndieAuth to OpenID proxy

Proxies IndieAuth authorization requests to one's OpenID server.

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>:

    <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.

Author

Written by Christian Weiske, cweiske@cweiske.de