]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blob - doc/plugins/openid.mdwn
refer to openid delegation
[git.ikiwiki.info.git] / doc / plugins / openid.mdwn
1 [[!template id=plugin name=openid core=1 author="[[Joey]]"]]
2 [[!tag type/auth]]
4 This plugin allows users to use their [OpenID](http://openid.net/) to log
5 into the wiki.
7 The plugin needs the [[!cpan Net::OpenID::Consumer]] perl module.
8 Version 1.x is needed in order for OpenID v2 to work.
10 The [[!cpan LWPx::ParanoidAgent]] perl module is used if available, for
11 added security. Finally, the [[!cpan Crypt::SSLeay]] perl module is needed
12 to support users entering "https" OpenID urls.
14 This plugin is enabled by default, but can be turned off if you want to
15 only use some other form of authentication, such as [[passwordauth]].
17 ## options
19 These options do not normally need to be set, but can be useful in
20 certain setups.
22 * `openid_realm` can be used to control the scope of the openid request.
23   It defaults to the `cgiurl` (or `openid_cgiurl` if set); only allowing
24   ikiwiki's [[CGI]] to authenticate. If you have multiple ikiwiki instances,
25   or other things using openid on the same site, you may choose to put them
26   all in the same realm to improve the user's openid experience. It is an
27   url pattern, so can be set to eg "http://*.example.com/"
29 * `openid_cgiurl` can be used to cause a different than usual `cgiurl`
30   to be used when doing openid authentication. The `openid_cgiurl` must
31   point to an ikiwiki [[CGI]], and it will need to match the `openid_realm`
32   to work.
34 ## troubleshooting
36 See [[plugins/openid/troubleshooting]] for a number of issues that may
37 need to be addressed when setting up ikiwiki to accept OpenID logins reliably.
39 ## delegation
41 This plugin does not take care of doing the "server" part of the
42 OpenID protocol, only the "client" part. In other words, it allows
43 users to login to your site through OpenID, but is not in itself an
44 OpenID provider.
46 It is possible, however, to use your Ikiwiki site as a delegation
47 point to another OpenID provider. For this, use the
48 [[ikiwiki/directive/meta/]] directive with the `openid` parameter.