welcome: please sign in
Page Locked

HelpOnOpenIDProvider

1. MoinMoin as an OpenID Provider

/!\ If you're looking for allowing log-in in to Moin using OpenID (Moin being an OpenID Relying Party), please see HelpOnAuthentication!

MoinMoin can be used as a flexible OpenID provider, allowing authentication with any of the existing authentication methods.

MoinMoin's OpenID provider code is very flexible, allowing various use cases. Generally, though, if the OpenID server is enabled, each user's homepage is also their OpenID. It is possible through a processing instruction, if permitted, to use any other page as the OpenID for a specific user if the page contains that processing instruction, see below.

1.1. Configuration

The OpenID server code supports several configuration variables that can restrict the way the wiki can be used as an OpenID provider:

  1. openid_server_enabled (boolean): used to enable/disable the built-in OpenID server completely

  2. openid_server_enable_user (boolean): If set, the OpenIDUser processing instruction is allowed, see below.

  3. openid_server_restricted_users_group (group page name): if set, the page it points to must contain a list of users that are allowed to use the wiki as an OpenID provider.

1.2. Processing instruction

The new processing instruction OpenIDUser is enabled depending on the configuration, its only argument must be a username, for example "#OpenIDUser SomeUserName". When this instruction is used, Moin will also allow using that particular page as an OpenID URL for the given username. However, note that this form of the processing instruction can never override the default so it cannot be used on another user's homepage.

1.3. Currently not implemented functionality

The OpenID server code is not perfect, it could