Integrate with Organizr
Support level: Community
What is Organizr?
Organizr allows you to setup "Tabs" that will be loaded all in one webpage.
Organizr does not provide native OAuth, OIDC, or SAML SSO. This guide uses the authentik Proxy Provider to authenticate requests before they reach Organizr, and configures Organizr to trust the identity headers sent by the authentik proxy outpost.
Preparation
The following placeholders are used in this guide:
organizr.companyis the FQDN of the Organizr installation.authentik.companyis 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.
Before configuring Organizr, create an authentik LDAP provider and LDAP outpost by following Create an LDAP provider. Organizr also needs a service account that can bind to LDAP and search for users. This guide uses ldapservice as the service account username.
Note the following values from your LDAP provider and outpost:
- LDAP provider Base DN.
- Service account DN, for example
cn=ldapservice,ou=users,dc=ldap,dc=goauthentik,dc=io. - Service account password.
- LDAP outpost hostname or IP address and port.
If you want to scope access to Organizr, create or choose an authentik group for Organizr users. You can bind this group to the Organizr application later.
When Organizr is configured for auth proxy login, Organizr trusts the proxy headers that it receives. Make sure users can access Organizr only through the authentik proxy outpost, and do not expose the Organizr backend directly to the internet.
authentik configuration
To support the integration of Organizr with authentik, you need to create an application/provider pair in authentik and assign it to a proxy outpost.
Create an application and provider
-
Log in to authentik as an administrator and open the authentik Admin interface.
-
Navigate to Applications > Applications and click New Application to open the application wizard.
-
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 Proxy Provider 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.
-
Set Mode to Proxy.
-
Set External host to
https://organizr.company. -
Set Internal host to the URL that the authentik proxy outpost uses to reach Organizr.
-
Under Advanced protocol settings, set Unauthenticated Paths to the following value to allow Organizr API requests:
^/api/.*
-
-
Configure Bindings (optional): you can create a binding (policy, group, or user) to manage the listing and access to applications on a user's Application Dashboard page.
-
-
Click Submit to save the new application and provider.
Configure proxy outpost
The proxy provider requires an authentik proxy outpost. If you do not already have a proxy outpost, follow the outpost documentation to create and deploy one.
Add the Organizr application to a proxy outpost that will serve it:
- Log in to authentik as an administrator and open the authentik Admin interface.
- Navigate to Applications > Outposts.
- Click the edit icon for the proxy outpost. This can be the built-in authentik Embedded Outpost or another proxy outpost.
- Under Available Applications, select the Organizr application and move it to Selected Applications.
- Click Update to save your changes.
Organizr configuration
Configure Organizr to trust the authenticated username and email headers sent by the authentik proxy outpost.
Ensure that local Organizr usernames and email addresses do not conflict with usernames and email addresses in authentik.
- Log in to Organizr as an administrator.
- Navigate to Settings > System Settings > Main > Auth Proxy.
- Set Auth Proxy to enabled.
- Set Auth Proxy Whitelist to the IPv4 address of the authentik proxy outpost as seen by Organizr. You can also use an IPv4 subnet in CIDR notation if the proxy outpost can reach Organizr from multiple addresses.
- Set Auth Proxy Header Name to
X-authentik-username. - Set Auth Proxy Header Name for Email to
X-authentik-email. - Set Override Logout to enabled.
- Set Logout URL to
/outpost.goauthentik.io/sign_out. - Navigate to Settings > System Settings > Main > Authentication.
- Set Authentication Type to Organizr DB + Backend.
- Set Authentication Backend to Ldap.
- Set Host Address to the LDAP outpost URL, including the scheme and port.
- Set Host Base DN to the Base DN from the authentik LDAP provider.
- Set Account Prefix to
cn=. - Set Account Suffix to
,ou=users,<base_dn>, replacing<base_dn>with the Base DN from the authentik LDAP provider. - Set Bind Username to the service account DN from authentik.
- Set Bind Password to the service account password from authentik.
- Set LDAP Backend Type to OpenLDAP.
- Save your changes.
Access for authentik users is managed locally within Organizr under User Management. New users are assigned to the default Organizr group.
Configure DNS or your reverse proxy so that requests for https://organizr.company are routed to the authentik proxy outpost. The authentik proxy outpost then forwards authenticated requests to Organizr through the Internal host configured on the proxy provider.
Configuration verification
To verify the login flow, open Organizr. You should be redirected to authentik before the Organizr web interface is shown.