30 | | [cosign] |
31 | | server = https://weblogin.localdomain/ |
32 | | service = trac |
33 | | login_path = /cgi-bin/login |
34 | | logout_path = /cgi-bin/logout |
| 31 | [components] |
| 32 | traccosign.* = enabled |
| 33 | trac.web.auth.LoginModule = disabled |
| 34 | }}} |
| 35 | |
| 36 | '''note''': Even if installing locally, you must disable the default `LoginModule`. |
| 37 | |
| 38 | === The [cosign] section === |
| 39 | Options in the ``[cosign]`` section: |
| 40 | * '''server''': **required** |
| 41 | The base URL of the `CoSign` server. |
| 42 | * '''service''': |
| 43 | **Requried** if do not use `CoSign` filter doing redirect. |
| 44 | * '''login_path''': |
| 45 | Relative path to the login service. Defaults to ``/cgi-bin/login``. |
| 46 | * '''logout_path''': |
| 47 | Relative path to the logout service. Defaults to ``/cgi-bin/logout``. |
| 48 | |
| 49 | === Example === |
| 50 | An example configuration: |
| 51 | {{{ |
| 52 | [components] |
| 53 | traccosign.* = enabled |
| 54 | trac.web.auth.LoginModule = disabled |
| 55 | |
| 56 | [cosign] |
| 57 | server = https://weblogin.localdomain/ |
| 58 | service = trac |
| 59 | login_path = /cgi-bin/login |
| 60 | logout_path = /cgi-bin/logout |