2 if (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS']) {
7 $epUrl = $prot . '://' . $_SERVER['HTTP_HOST'] . '/';
8 $hepUrl = htmlspecialchars($epUrl);
11 <?xml version="1.0" encoding="utf-8"?>
12 <html xmlns="http://www.w3.org/1999/xhtml">
14 <title>IndieAuth-OpenID proxy</title>
15 <style type="text/css">
23 background-color: #DDD;
28 background-color: #DDD;
35 <h1>IndieAuth to OpenID proxy</h1>
37 This software make it possible to use your OpenID to login
38 to IndieAuth-enabled websites.
42 <h2 id="setup">Setup</h2>
44 On your home page, add the following code to the
45 HTML <tt><head></tt> section:
47 <pre><link rel="authorization_endpoint" href="<?php echo $hepUrl; ?>" /></pre>
49 Now simply enter your homepage URL in the IndieAuth login field
51 You'll be redirected to your OpenID provider and see its login prompt.
55 <h2 id="source">About indieauth-openid</h2>
57 <em>indieauth-openid</em> was written by
58 <a href="http://cweiske.de/">Christian Weiske</a>
59 and is licensed under the
60 <a href="http://www.gnu.org/licenses/agpl.html">AGPL v3 or later</a>.
63 You can get the source code from
64 <a href="http://git.cweiske.de/indieauth-openid.git">git.cweiske.de/indieauth-openid.git</a>
66 <a href="https://github.com/cweiske/indieauth-openid">mirror on Github</a>.