website/integrations/chat-communication-collaboration/openproject/index.md
OpenProject is a web-based project management software. Use OpenProject to manage your projects, tasks and goals. Collaborate via work packages and link them to your pull requests on Github.
The following placeholders are used in this guide:
openproject.company is the FQDN of the OpenProject installation.authentik.company is the FQDN of the authentik installation.:::info This documentation lists only the settings that you need to change from their default values. Be aware that any changes other than those explicitly mentioned in this guide could cause issues accessing your application. :::
To support the integration of OpenProject with authentik, you need to create a property mapping and an application/provider pair in authentik.
OpenProject requires a first and last name for each user. By default authentik only provides a full name, as a single string value. Therefore you need to create a property mapping to provide first and last names to OpenProject.
Select type: select Scope Mapping as the property mapping type.
Configure the Scope Mapping: Provide a descriptive name (e.g. Open Project Profile Scope), and an optional description
profilereturn {
"name": request.user.name,
"preferred_username": request.user.username,
"nickname": request.user.username,
"groups": [group.name for group in request.user.groups.all()],
"last_name": request.user.name.rsplit(" ", 1)[-1],
"first_name": request.user.name.rsplit(" ", 1)[0],
}
https://openproject.company/auth/oidc-authentik/callbackauthentik default OAuth Mapping: OpenID 'profile' from Selected Scopes.Open Project Profile Scope) to Selected Scopes.To support the integration of authentik with OpenProject, you need to configure authentication in the OpenProject administration interface.
Authentik) and click Save.https://authentik.company/application/o/openproject/.well-known/openid-configurationpreferred_usernameemailfirst_namelast_nameTo confirm that authentik is properly configured with OpenProject, log out of OpenProject, and then click on authentik and enter your authentik credentials to log back in.