triauth for RedmineOIDC
Let your team open Redmine with one approval on their own device, through the Redmine OAuth plugin.
- Sign-in through
- OpenID Connect bridge
- Available in
- Redmine 6.0 and newer, with the Redmine OAuth plugin
- Set up in
- Administration › OAuth providers
About Redmine
Redmine is a web application for managing projects and tracking issues. Teams log bugs and tasks, plan versions on a roadmap, keep a wiki and forums per project, and link their work to their code. It runs on your own server and grows through plugins.
Connect Redmine to triauth
Redmine signs people in through the triauth OpenID Connect bridge, with the Redmine OAuth plugin. Once connected, the sign-in page shows a Continue with button carrying your domain's name. People on your team click it, type their username, and approve on their own device. Nobody keeps a Redmine password, and when someone leaves, removing their identity records at your domain ends their access to Redmine as well.
How it works
Install the Redmine OAuth plugin as its README describes, and restart Redmine.
Open oidc.triauth.org and enter your domain. Paste Redmine's redirect address,
https://redmine.example.com/oauth2callbackwith your own Redmine address in place ofredmine.example.com, and click Connect app. The bridge gives you a client ID and a client secret.In Redmine, open Administration › OAuth providers, add a provider of the type Custom, and fill in the fields below with your domain in place of
example.com. Save.Field Value Custom name example.comSite https://oidc.triauth.org/example.comAuth endpoint /authorizeToken endpoint /tokenProfile endpoint /userinfoScope openid profile emailUID field emailClient ID and Client secret from the bridge Open Redmine's sign-in page and click Continue with example.com.
Checkpoint
Redmine's sign-in page shows a Continue with button with your domain's name. Choosing it opens a page from the bridge that asks for the username, and the person's authenticator asks them to approve.
Good to know
- People who already have a Redmine account under the same email address sign in to it. Everyone else follows Redmine's own self-registration setting, which can ask an administrator to activate new accounts. To let only one team in, limit the app to a group when you connect it.
- Roles and groups in Redmine are managed in Redmine. The groups published at your domain are not used.
- The plugin is a community plugin by Karel Pičman, listed in the Redmine plugins directory, for Redmine 6.0 and newer.
For the person who connects the app
| Setting | Value |
|---|---|
| Redirect address | https://<your-redmine>/oauth2callback |
| Where in Redmine | Administration › OAuth providers › New, provider Custom |
| Profile endpoint | must be set to /userinfo. Left empty, the plugin tries to read the access token as a token of its own |
| Roles key | leave empty. When set, the plugin expects a value user in that claim |
| UID field and Email field | both email, so that people are matched by the identifier. The UID field's default, preferred_username, is the person's username, which Redmine would match against its logins instead |
The plugin keeps the client secret, so leave This app can't keep a secret unticked when you connect it on the bridge. The plugin's README explains every field.
Next steps
- Read the OpenID Connect bridge page for what every connected app gets and what the bridge keeps private.
- Read Roll out to your team to give everyone in your organization an identifier at your domain.
- Read Groups to limit Redmine to one team when you connect it.
- Read the Redmine OAuth plugin's README for every setting it offers.
All logos and trademarks belong to their respective owners and do not imply affiliation or endorsement of the organization or product by triauth, nor vice versa. The content provided on this page may include information from third-party sources. We do not assume any responsibility for the completeness, correctness, or applicability of the information. You should independently verify any details before relying on them.