This Jenkins plugin enables OAuth authentication for Redmine OAuth Provider Plugin users.
First you need to get consumer key/secret from Redmine OAuth Provider Plugin.
- Log into your Redmine account.
- Access to [YOUR_REDMINE_HOST]/oauth_clients
- Click the Register your application link.
- The system requests the following information:
- Name is required. For example, input Jenkins
- Main Application URL is required. For example, input your jenkins url.
- Callback URL is required. For example, input [YOUR_JENKINS_HOST]/securityRealm/finishLogin
- Support URL is not required.
- Press Register. The system generates a key and a secret for you. Toggle the consumer name to see the generated Key and Secret value for your consumer.
Second, you need to configure your Jenkins.
- Open Jenkins Configure System page.
- Check Enable security.
- Select Redmine OAuth Plugin in Security Realm.
- Input your Redmine Url to Redmine Url.
- Input your Consumer Key to Client ID.
- Input your Consumer Secret to Client Secret.
- Click Save button.
This plugin reuses many codes of Jenkins Assembla Auth Plugin. Many thanks to Assembla team.