Integrate with Kanboard
Support level: Community
What is Kanboard
Kanboard is a free and open source Kanban project management software.
Preparation
The following placeholders are used in this guide:
kanboard.company
is the FQDN of your Kanboard installation.authentik.company
is the FQDN of the authentik installation.
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.
authentik configuration
To support the integration of Kanboard with authentik, you need to create an application/provider pair in authentik.
Create an application and provider in authentik
-
Log in to authentik as an administrator and open the authentik Admin interface.
-
Navigate to Applications > Applications and click Create with Provider to create an application and provider pair. (Alternatively you can first create a provider separately, then create the application and connect it with the provider.)
- Application: provide a descriptive name, an optional group for the type of application, the policy engine mode, and optional UI settings.
- Choose a Provider type: select OAuth2/OpenID Connect as the provider type.
- Configure the Provider: provide a name (or accept the auto-provided name), the authorization flow to use for this provider, and the following required configurations.
- Note the Client ID and Client Secret values because they will be required later.
- Set a
Strict
redirect URI tohttps://kanboard.company/oauth/callback
. - Select any available signing key.
- Configure Bindings (optional): you can create a binding (policy, group, or user) to manage the listing and access to applications on a user's My applications page.
-
Click Submit to save the new application and provider.
Kanboard configuration
Integrating Kanboard with authentik requires enabling the plugin system and installing the OAuth2 plugin.
Enable plugin management
To enable plugin management through the web interface, add the following line to your Kanboard configuration file, typically located at /var/www/app/config.php
:
define('PLUGIN_INSTALLER', true);
Then, restart your server to apply the updated configuration.
Install and configure the plugin
- Log in to Kanboard as an administrator and navigate to your Profile Icon > Settings > Plugins.
- Locate the OAuth2 plugin in the list and click Install.
- After the installation is complete, navigate to Profile Icon > Settings > Integrations.
- Under OAuth2 Authentication, configure the following settings:
Setting | Value |
---|---|
Callback URL | https://kanboard.company/oauth/callback (prefilled) |
Client ID | Client ID from authentik |
Client Secret | Client secret from authentik |
Authorize URL | https://authentik.company/application/o/authorize |
Token URL | https://authentik.company/application/o/token |
User API URL | https://authentik.company/application/o/userinfo |
Scopes | openid profile email |
Username Key | preferred_username |
Name Key | name |
Email Key | email |
User ID Key | sub |
Allow Account Creation | Toggled |
- Click Save to apply your configuration.
Configuration verification
To confirm that authentik is properly configured with Kanboard, log out and attempt to log back in by clicking OAuth2 login.