DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:openid

This is an old revision of the document!


OpenID plugin

Compatible with DokuWiki

2009-12-25c

plugin Allow users to authenticate with OpenID. (previous author: Andreas Gohr)

Last updated on
2010-04-01
Provides
Action
Conflicts with
fedauth

This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.

Similar to fedauth, ssocas

Tagged with authentication, embed

The OpenID login form

This plugin allows users to log in through the OpenID protocol.

Download and Install

Use the following URL to download or install the plugin through the plugin manager:

Incompatibility with DokuWiki 2009-12-25

Incompatibilities with this plugin and version 2009-12-25 of DokuWiki were reported by several users.

All issues should now be fixed with the latest release of the plugin. François Hodierne 2010-04-01

Changes

Version 2

Website: http://h6e.net/dokuwiki/plugins/openid

    • new version scheme (precedent beta3 = 2.0.3)
    • fix issues with php-openid library and PHP 5.3
    • ensure plugin works with DokuWiki 2009-12-25
    • change session/cookie handling
    • don't warn to register if registration is off
    • support for user openids from auth backend
    • better redirects, don't loose current page in the authentication process
    • add a php4 compatibility fix
    • fix an issue preventing authenticating with clean URLs activated
    • now use JainRain PHP OpenID Library
    • now compatible with OpenID 2.0
    • new workflow, openID identities are now associated with traditional DokuWiki accounts

Notes

  • The plugin doesn't currently play well with DokuWiki 'auth_security_timeout' configuration. So, for now, you have to set this option to an high value, like '60*60*24', the user being disconnected one day after initial authentication.

Feature Requests

  • Allow an administrator to specify that ONLY a specific openID provider would be allowed. This would allow a wiki to be restricted to an already defined body of users.
  • Ability to assign OpenID users to additional groups.
  • Option to completely disable non-OpenID logins.
  • Attribute Exchange support (AX) to allow groups to be assigned
  • Be a OpenID provider for wiki users, so they can log in elsewhere with their wiki credentials.

Localization

Portuguese-Brazilian

To add pt-br support, create a folder in <path to your DW>/lib/plugins/openid/lang/ and make these two files:

intro.txt

====== OpenID Login ======

Você pode usar sua [[http://openid.net/|OpenID]] para entrar neste site.
Entre com o identificador de sua OpenID (URL) no campo de login.

lang.php

<?php

$lang['openid_login_fieldset']    = 'Login OpenID';
$lang['openid_account_fieldset']  = 'Conta OpenID';

$lang['openid_url_label'] = 'Endereço da OpenID';

$lang['add_button']             = 'Adicionar';
$lang['complete_button']        = 'Completar';
$lang['delete_selected_button'] = 'Apagar selecionado';

$lang['login_link']   = 'Você também pode <a href="%s" class="openid">entrar com sua OpenID</a>.';
$lang['manage_link']  = 'Você também pode <a href="%s">gerenciar suas identidades OpenID</a>';

$lang['add_openid_title']         = 'Adicionar uma OpenID';
$lang['openid_identities_title']  = 'Suas identidades OpenID';

$lang['complete_registration_notice']  = 'Você está conectado temporariamente usando sua OpenID. <a href="%s">Termine seu registro</a> para ser um usuário permanente.';

$lang['openid_already_user_error']  = 'Essa identidade OpenID já está sendo usada';
$lang['enter_valid_openid_error']   = 'Entre com um identificador OpenID válido.';

$lang['openid_identity_added']          = 'Identidade OpenID adicionada com sucesso';
$lang['openid_authentication_failed']   = 'A autenticação OpenID falhou';
$lang['openid_authentication_canceled'] = 'Autenticação OpenID cancelada.';

$lang['openid_complete_text'] = 'Por favor verifique e/ou complete as informações da sua conta para terminar o registro.';
$lang['openid_complete_disabled_text'] = 'Você está corretamente autenticado, mas registros não são possíveis nesta wiki. <a href="%s">Continue aqui.</a>';

$lang['none'] = 'Nenhum.';

Russian

Here go the language files for Russian (ru).

intro.txt

====== Войти через OpenID  ======

Вы можете войти, используя существующую учётную запись [[http://openid.net/|OpenID]]. 
К примеру, у каждого пользователя LiveJournal (Живого Журнала, ЖЖ) есть такая учётная запись.
Введите свой идентификатор OpenID (например: myname.livejournal.com) и нажмите "Войти".

lang.php

<?php

$lang['openid_login_fieldset']    = 'Войти через OpenID';
$lang['openid_account_fieldset']  = 'Учётная запись OpenID';

$lang['openid_url_label'] = 'Ваш OpenID';

$lang['add_button']             = 'Добавить';
$lang['complete_button']        = 'Заполнить';
$lang['delete_selected_button'] = 'Удалить выбранное';

$lang['login_link']   = 'Вы также можете <a href="%s" class="openid">войти с помощью OpenID</a>. Например, если у вас есть Живой Журнал, то у вас уже есть идентификатор OpenID. Он имеет вид <b>myname.livejournal.com</b>';
$lang['manage_link']  = 'Здесь вы можете <a href="%s">управлять своими учётными записями OpenID identities</a>';

$lang['add_openid_title']         = 'Добавить OpenID';
$lang['openid_identities_title']  = 'Ваши учётные записи OpenID';

$lang['complete_registration_notice']  = 'Вы вошли, используя временную сессию OpenID. <a href="%s">Завершите регистрацию</a> чтобы сделать её постоянной.';

$lang['openid_already_user_error']  = 'Такая учётная запись OpenID уже используется.';
$lang['enter_valid_openid_error']   = 'Введите "хорошую, годную" учётную запись OpenID.';

$lang['openid_identity_added']          = 'Успешно добавили учётную запись OpenID.';
$lang['openid_authentication_failed']   = 'Авторизация с помощью OpenID не удалась.';
$lang['openid_authentication_canceled'] = 'Авторизация с помощью OpenID была прервана.';

$lang['openid_complete_text'] = 'Теперь можно заполнить краткую анкету. Укажите хотя бы, как к Вам обращаться...';
$lang['openid_complete_disabled_text'] = 'С одной стороны, всё прошло хорошо, но, с другой стороны, в доступе Вам отказано. <a href="%s">Кликните здесь.</a>';

$lang['none'] = 'Упс!';
plugin/openid.1289255467.txt.gz · Last modified: 2010-11-08 23:31 by adrianlang

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki