Integration
Integrating OpenProject with External Systems
This document provides guidelines on how to integrate OpenProject with various external systems, enhancing its capabilities and facilitating seamless collaboration across different platforms. Below are step-by-step instructions for commonly required integrations including version control systems, authentication services, and email services.
Overview
Integrating OpenProject with external services can greatly expand its functionality. Here are some of the most common integrations:
- Version Control Systems (VCS)
-
Git
-
Subversion (SVN)
- Authentication Providers
-
LDAP/Active Directory
-
SAML
-
OAuth2
- Email Services
- SMTP for outgoing emails
Pre-requisites
-
Administrative access to your OpenProject installation.
-
Appropriate access credentials for each external service (e.g., API keys, user access credentials).
-
Necessary network access from the OpenProject server to the external services.
Step 1: Version Control System Integration
Git Integration
- Install Git on the OpenProject Server:
bashCopy code
sudo apt-get install git
- Configure Git Repositories in OpenProject:
-
Navigate to Administration > Repositories in OpenProject.
-
Choose New repository and select Git.
-
Enter the path to your Git repository and any authentication details if needed.
Subversion Integration
- Install Subversion on the OpenProject Server:
bashCopy code
sudo apt-get install subversion
- Configure SVN Repositories in OpenProject:
-
Navigate to Administration > Repositories.
-
Choose New repository and select Subversion.
-
Provide the URL to your SVN repository and necessary authentication details.
Step 2: Authentication Provider Integration
LDAP/Active Directory
- Navigate to LDAP Authentication:
- Go to Administration > LDAP Authentication.
- Add New LDAP Authentication:
-
Click on New LDAP Authentication and fill in the LDAP details:
-
Name: Descriptive name for the LDAP connection.
-
Host: LDAP server IP or hostname.
-
Port: Typically 389 for LDAP or 636 for LDAPS.
-
Account and Password: LDAP credentials if required.
-
Base DN: The base DN for your LDAP searches.
-
Filter: Any specific filter to apply.
SAML Authentication
- Install Required Plugins:
- Ensure the OpenProject SAML plugin is installed and activated.
- Configure SAML Settings:
-
Navigate to Administration > SAML Authentication.
-
Input SAML details like IdP entity id, SSO URL, SLO URL, and certificate data.
OAuth2 Provider Integration
- Setup OAuth2:
-
Similar to SAML, install any necessary plugins and navigate to the OAuth2 configuration under Administration.
-
Configure the client ID, client secret, site, and token URL according to your OAuth provider’s documentation.
Step 3: Email Configuration
SMTP Setup
- Configure Outgoing Emails:
-
Navigate to Administration > Settings > Email notifications.
-
Select SMTP under the Email delivery method.
-
Fill in SMTP details including address, port, authentication method, username, and password.
Testing and Validation
-
Version Control Integration: Test by committing to a repository and verifying that OpenProject reflects the changes.
-
Authentication Integration: Test by logging in with credentials managed by the authentication provider.
-
Email Integration: Test by triggering an email event in OpenProject (e.g., issue creation or user invitation).
Troubleshooting
-
Verify all network connections, credentials, and configurations if any integration fails.
-
Consult the logs in OpenProject (log/production.log) for error messages that can provide insights into any issues