]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/openid.mdwn
* Group passwordauth fields with a fieldset as well. Add a new
[ikiwiki.git] / doc / openid.mdwn
index 7962b46f71f8097e12f8f7b307cbda2328b584fd..7e46bdf6423ed69e16abb847aca884884404c2fe 100644 (file)
@@ -1,29 +1,39 @@
 [[meta title="OpenID"]]
 
+[[if test="enabled(openid)"
+     then="This wiki has OpenID **enabled**."
+     else="""
+This wiki has OpenID **disabled**.
+[[if test="enabled(passwordauth) and passwordauth"
+     then="You can sign into this wiki using [[passwordauth]]."]]
+"""]]
+
 [OpenID](http://openid.net) is a decentralized authentication mechanism
 that allows you to have one login that you can use on a growing number of
 websites.
 
 To sign up for an OpenID, visit one of the following identity providers:
 
-* [MyOpenID](https://www.myopenid.com/affiliate_signup?affiliate_id=26)
+* [MyOpenID](https://www.myopenid.com/)
 * [GetOpenID](https://getopenid.com/)
+* [Videntity](http://videntity.org/)
 * [LiveJournal](http://www.livejournal.com/openid/)
-* or any of the many others out there..
+* or any of the [many others out there](http://openiddirectory.com/index.php?dir=1)..
 
-To sign in to this wiki using OpenID, just enter it in the OpenID field in
-the signin form. (If the field does not appear, OpenID signin is
-disabled.) You do not need to give this wiki a password or go through any
+Your OpenID is the URL that you are given when you sign up.
+[[if test="enabled(openid)" then="""
+To sign in to this wiki using OpenID, just enter it in the OpenID field in the
+signin form. You do not need to give this wiki a password or go through any
 registration process when using OpenID.
+"""]]
 
-In case you haven't worked it out yet your OpenID is the URL that you are
-given when you sign up (at least for MyOpenID). I at least was expecting
-some sort of number.
+[[if test="enabled(openid) and enabled(passwordauth) and passwordauth"
+     then="You can also sign into this wiki using [[passwordauth]]."]]
 
 ---
 
 It's also possible to make a page in the wiki usable as an OpenID url,
 by delegating it to an openid server. Here's an example of how to do that:
 
-       \[[meta link="http://www.myopenid.com/server" rel="openid.server"]]
-       \[[meta link="http://yourid.myopenid.com/" rel="openid.delegate"]]
+       \\[[meta openid="http://yourid.myopenid.com/"
+       server="http://www.myopenid.com/server"]]