Changes between Version 29 and Version 30 of AuthOpenIdPlugin


Ignore:
Timestamp:
Nov 21, 2008 10:20:47 PM (6 years ago)
Author:
anonymous
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AuthOpenIdPlugin

    v29 v30  
    1 = OpenID Authentication Plugin =
    2 
    3 == Description ==
    4 
    5 This plugins allows to login to Trac using OpenID. Please, note that this plugin works with Trac 0.11 version only.
    6 
    7 WARNING: This plugin does not work with Trac 0.11.2.1 because of new bug in Trac. Use older version. I hope trac team will fix this problem soon.
    8 
    9 There is already similar plugin (OpenidPlugin) but it is abandoned, old and has list of problems that my version fix:
    10 
    11   * Should work with Mysql, PostgreSql and SQLite
    12 
    13   * Uses genshi for templating
    14 
    15 == Bugs/Feature Requests ==
    16 
    17 Existing bugs and feature requests are [query:status!=closed&component=AuthOpenIdPlugin&order=priority here]. If you have any issues, create a
    18 [/newticket?component=AuthOpenIdPlugin&owner=dalius new ticket].
    19 
    20 == Download & Source ==
    21 
    22 You will need to install [http://www.openidenabled.com/python-openid/ python_openid-2.1.1]. Newer versions might works as well but are not tested currently.
    23 
    24 You can check out from:
    25 
    26   * [http://hg.sandbox.lt/authopenid-plugin/] using Mercurial.
    27 
    28 You can download current version (0.1.6) from [http://hg.sandbox.lt/authopenid-plugin/archive/v0.1.6.tar.gz] if you don't want to use Mercurial version.
    29 
    30 == Example ==
    31 
    32 {{{
    33 [components]
    34 trac.web.auth.* = disabled
    35 authopenid.* = enabled
    36 }}}
    37 
    38 == Options ==
    39 
    40 This plugin has number of configuration options. Examples are best way to illustrate them:
    41 
    42 {{{
    43 [trac]
    44 # Check user IP address. IP addresses are masked because
    45 # in some cases user is behind internal proxy and last
    46 # number in IP address might vary. Disable check_auth_ip
    47 # if you are using IPv6. If you still want to have IPv6
    48 # support please contact me.
    49 check_auth_ip = true
    50 check_auth_ip_mask = 255.255.255.0
    51 # number of seconds until cookie will expire
    52 expires = 86400
    53 
    54 [openid]
    55 # In some cases company might have internal OpenID server that automatically
    56 # identifies user (e.g. windows SSPI). Also known as single sign-on.
    57 default_openid = http://openid.ee
    58 # Require sreg data
    59 sreg_required = false
    60 # Default PAPE method to request from OpenID provider.
    61 # pape_method =
    62 # What is OpenID link.
    63 whatis = http://openid.net/what/
    64 # In some cases you might want allow users to login to different projects using
    65 # different OpenIDs. In that case don't use absolute trust root.
    66 absolute_trust_root = false
    67 
    68 # Remove http:// or https:// from URL that is used as username. (Default: false)
    69 strip_protocol = false
    70 
    71 # Remove trailing slash from URL that is user as username (Defaul: false)
    72 strip_trailing_slash = false
    73 
    74 # Expiration time acts as timeout. E.g. if expiration time is 24 hour and
    75 # you login again in those 24 times. Expiration time is extended for another
    76 # 24 hours. (Default: false)
    77 timeout = false
    78 
    79 # white and black lists.
    80 # Allows all the people from Lithuania, Latvia or Estonia except delfi domain.
    81 # IMPORTANT: strip_protocol and strip_trailing_slash affects what openid will be given to white_list or black_list
    82 white_list = *.lt, *.lv, *.ee
    83 black_list = *.delfi.lt,*.delfi.lv,*.delfi.ee
    84 
    85 # In addition to white and black lists you can use external service
    86 # for allowing users into trac. To control that you must use check_list
    87 # and check_list_key option. It will generate URL:
    88 # check_list?check_list_key=openid
    89 # It expects JSON result in following format:
    90 # {"check_list_key": true}
    91 # IMPORTANT: this functionality uses simplejson which might not be available on your system by default. Install it if you want to use this functionality.
    92 # IMPORTANT: strip_protocol and strip_trailing_slash affects what openid will be send to service
    93 check_list = http://your.site.com/openidallow
    94 check_list_key = check_list
    95 
    96 }}}
    97 
    98 == Author/Contributors ==
    99 
    100 '''Author:''' [wiki:dalius] [[BR]]
    101 '''Contributors:'''
     1Moved to my own server [http://trac.sandbox.lt/auth/wiki/AuthOpenIdPlugin AuthOpenIdPlugin]