Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
34 lines (20 sloc) 1.02 KB

trac-sso

The TracSSO plugin enables SSO support for trac.

Installing:

  • From a checkout of the project run:

    $ python setup.py bdist_egg

  • Copy the generated egg to the plugin directory of your trac project:

    $ cp dist/TracSSO-*.egg {trac-location}/plugins/.

  • Restart trac

The plug-in adds support for Discourse SSO to Trac. To configure the add to your Trac configuration file the shared secret and redirect url. For example:

[sso]
sso_secret = thisisatestsecret
sso_redirect = https://my.discourse.example.com/session/sso_login

And grant the SSO_LOGIN permission to any users/groups of users you want to.

To configure multiple SSO endpoints simply pre-prepend a different endpoint to your configurations. The default one is sso. For example to configure the /sso2 endpoint:

[sso]
sso2.sso_secret = othertestsecret
sso2.sso_redirect = https://myother.discourse.example.com/session/sso_login
You can’t perform that action at this time.