DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:openid

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
plugin:openid [2010-10-03 23:47] 89.223.24.143plugin:openid [2023-06-21 08:08] (current) Aleksandr
Line 1: Line 1:
-====== OpenID plugin ======+====== OpenID Plugin ======
  
 ---- plugin ---- ---- plugin ----
-description: Allow users to authenticate with OpenID. (previous author: Andreas Gohr) +description: Allow users to authenticate with OpenID. (previous authors: Andreas Gohr, François Hodierne
-author     : François Hodierne  +author     : usr-local 
-email      : francois@hodierne.net+email      : 
 type       : action type       : action
-lastupdate : 2010-04-01 +lastupdate : 2023-02-19 
-compatible : 2009-12-25c+compatible : Anteater, Rincewind, Angua, Adora Belle, Weatherwax, Binky, Ponder Stibbons, Greebo, Igor, Jack Jackrum
 depends    :  depends    : 
 conflicts  conflicts 
Line 13: Line 13:
 tags       : authentication, embed tags       : authentication, embed
  
-downloadurl: http://h6e.net/releases/dokuwiki-openid-plugin-latest.tar.gz+sourcerepo : https://github.com/usr-local/dokuwiki-openid 
 +downloadurl: https://github.com/usr-local/dokuwiki-openid/archive/refs/tags/2.2.0-ul-2.tar.gz 
 +bugtracker : https://github.com/znarf/dokuwiki-openid/issues
 ---- ----
  
Line 22: Line 24:
 ===== Download and Install ===== ===== Download and Install =====
  
-Use the following URL to download or install the plugin through the plugin manager:+Download and install the plugin using the [[plugin:extension|Extension Manager]]. Refer to [[:Plugins]] on how to install plugins manually.
  
-  * {{http://h6e.net/releases/dokuwiki-openid-plugin-latest.tar.gz}} +  * https://github.com/usr-local/dokuwiki-openid/releases
- +
-===== 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 ===== ===== Changes =====
Line 36: Line 32:
 ==== Version 2  ==== ==== Version 2  ====
  
-Website: http://h6e.net/dokuwiki/plugins/openid+Website: https://github.com/usr-local/dokuwiki-openid
  
-  * [[http://github.com/znarf/dokuwiki-openid/tree/5bdaeeab8690217aff70d3c59057ec5dadbde371|01 April 2010: 2.1.0]]+  * [[https://github.com/znarf/dokuwiki-openid/tree/c494263ba48c68b55688ec6b775ff358e0499333|15 February 2011: 2.2.0]] 
 +    * PHP5 only 
 +    * update to latest php-openid library (thanks Adrian Lang) 
 +    * integrate ru and pt-br lang files 
 +  * [[https://github.com/znarf/dokuwiki-openid/tree/5bdaeeab8690217aff70d3c59057ec5dadbde371|01 April 2010: 2.1.0]]
     * new version scheme (precedent beta3 = 2.0.3)     * new version scheme (precedent beta3 = 2.0.3)
     * fix issues with php-openid library and PHP 5.3     * fix issues with php-openid library and PHP 5.3
     * ensure plugin works with DokuWiki 2009-12-25     * ensure plugin works with DokuWiki 2009-12-25
-  * [[http://github.com/znarf/dokuwiki-openid/tree/03604432d23ffafa629eecfe7ad932af366ab61f|18 Mai 2009: beta3]]+  * [[https://github.com/znarf/dokuwiki-openid/tree/03604432d23ffafa629eecfe7ad932af366ab61f|18 Mai 2009: beta3]]
     * change session/cookie handling     * change session/cookie handling
     * don't warn to register if registration is off     * don't warn to register if registration is off
Line 48: Line 48:
     * better redirects, don't loose current page in the authentication process     * better redirects, don't loose current page in the authentication process
     * add a php4 compatibility fix     * add a php4 compatibility fix
-  * [[http://github.com/znarf/dokuwiki-openid/tree/7174820fa3c91f72f6ad446824e28c2ceef55d87|23 Mar 2009: beta2]]+  * [[https://github.com/znarf/dokuwiki-openid/tree/7174820fa3c91f72f6ad446824e28c2ceef55d87|23 Mar 2009: beta2]]
     * fix an issue preventing authenticating with clean URLs activated     * fix an issue preventing authenticating with clean URLs activated
-  * [[http://github.com/znarf/dokuwiki-openid/tree/bf6ac4814b82d31e2f36fbb24d5002821b323de2|15 Mar 2009: beta1]]+  * [[https://github.com/znarf/dokuwiki-openid/tree/bf6ac4814b82d31e2f36fbb24d5002821b323de2|15 Mar 2009: beta1]]
     * now use JainRain PHP OpenID Library     * now use JainRain PHP OpenID Library
     * now compatible with OpenID 2.0     * now compatible with OpenID 2.0
Line 58: Line 58:
  
   * 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.   * 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.
 +
 +===== Bugs =====
 +  * ...
  
 ===== Feature Requests ===== ===== 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.   * 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.
 +    * //This feature is being developed and will be completed soon. Watch the fork on   [[https://github.com/boukeversteegh/dokuwiki-openid|github.com/boukeversteegh/dokuwiki-openid]]//
   * Ability to assign OpenID users to additional groups.   * Ability to assign OpenID users to additional groups.
   * Option to completely disable non-OpenID logins.   * Option to completely disable non-OpenID logins.
   * Attribute Exchange support (AX) to allow groups to be assigned   * 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.   * Be a OpenID **provider** for wiki users, so they can log in elsewhere with their wiki credentials.
- 
 ===== Localization ===== ===== 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 
-<code> 
-====== 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. 
-</code> 
- 
-lang.php 
-<code> 
-<?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.'; 
-</code> 
- 
-==== Russian ==== 
- 
-Here go the language files for Russian (ru). 
- 
-intro.txt 
-<code> 
-====== Войти через OpenID  ====== 
- 
-Вы можете войти, используя существующую учётную запись [[http://openid.net/|OpenID]].  
-К примеру, у каждого пользователя LiveJournal (Живого Журнала, ЖЖ) есть такая учётная запись. 
-Введите свой идентификатор OpenID (например: myname.livejournal.com) и нажмите "Войти". 
-</code> 
- 
-lang.php 
-<code> 
-<?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 уже используется.'; +Feel free to add any localization tips here.
-$lang['enter_valid_openid_error'  = 'Введите "хорошую, годную" учётную запись OpenID.';+
  
-$lang['openid_identity_added'         'Успешно добавили учётную запись OpenID.'; +===== Discussion =====
-$lang['openid_authentication_failed'  'Авторизация с помощью OpenID не удалась.'; +
-$lang['openid_authentication_canceled''Авторизация с помощью OpenID была прервана.';+
  
-$lang['openid_complete_text'] = 'Теперь можно заполнить краткую анкетуУкажите хотя быкак к Вам обращаться...'; +Just to let you know I got it working with DokuWiki Release 2018-04-22a "Greebo"It's a rough patch thoughe.gonly fragments of [[https://github.com/openid/php-openid/issues/8#issuecomment-1346962|The patch in OpenID Issue #8]] triggering fatal error are applied. 
-$lang['openid_complete_disabled_text'] = 'С одной стороны, всё прошло хорошо, но, с другой стороны, в доступе Вам отказано<href="%s">Кликните здесь.</a>';+My version is available at https://github.com/usr-local/dokuwiki-openid 
 + --- [[user>usr-local|Peter]] //2018-06-12 16:31//
  
-$lang['none'= 'Упс!'; +Just to let you know I got it working with DokuWiki Release 2022-07-31a "Igor" as well. It includes an update of [[https://github.com/openid/php-openid|PHP OpenID]] as well as the [[https://www.patreon.com/posts/better-forms-58551930|switch to the new dokuwiki form library]]. 
-</code>+This version is available at https://github.com/usr-local/dokuwiki-openid/releases/tag/2.2.0-ul-2 
 + --- [[user>usr-local|Peter]] //2023-02-19 22:00//
  
plugin/openid.1286142434.txt.gz · Last modified: 2010-10-03 23:47 by 89.223.24.143

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