Authentik integration
From Planfix
Integration with authentik lets your company employees sign in to Planfix with a single password via Single Sign-On (SSO). This simplifies authorization, increases security, and helps centrally manage employee access.
Supported features
- IdP-initiated sign-in (SSO)
- SP-initiated sign-in
- Just-In-Time (JIT) user creation
- SCIM Provisioning
SCIM Provisioning features
- Create users
- Update user data
- Deactivate users
Single Sign-On (SSO) setup
Steps in Planfix
- Go to Account managеment - Integrations - Single Sign-On.
- Enable the authentik integration.
- Keep the integration settings window open: you will need the values for Audience, ACS URL (Assertion Consumer Service), SCIM URL and SCIM Token from it.
Steps in authentik
- Open the authentik admin panel.
- Go to Applications - Applications.
- Click New Application.
- Provide application details, for example:
- Name: Planfix
- Slug: planfix
- On the provider selection step choose SAML Provider.
- In the SAML provider settings, enter the values from the Planfix integration window:
| Field in authentik | Value |
|---|---|
| ACS URL | Copy the ACS URL (Assertion Consumer Service) from Planfix |
| Audience | Copy the Audience from Planfix |
- Create the application and provider.
- In the provider settings on the Metadata tab, copy the SAML provider metadata URL from authentik.
Steps in Planfix
- Return to the authentik integration settings in Planfix.
- In the Metadata URI field, specify the authentik SAML provider metadata URL:
https://<authentik-domain>/application/saml/<application-slug>/metadata/
For example:
https://auth.example.com/application/saml/planfix/metadata/
- Save the settings.
The Planfix sign-in page will now offer authentication via Authentik. When a new user signs in for the first time, Planfix will automatically create their account using JIT Provisioning.
SCIM Provisioning setup
SCIM Provisioning is required if you need to automatically create, update, and deactivate employees in Planfix based on data from Authentik.
Steps in authentik
- Go to Applications - Providers.
- Create a new provider of type SCIM Provider.
- In the SCIM provider settings, specify:
| Field in authentik | Value |
|---|---|
| SCIM Base URL | SCIM URL from the Planfix settings |
| Authentication Mode | Token |
| Token | SCIM Token from the Planfix settings |
- Open the Planfix application in authentik.
- In the Backchannel Providers field add the created SCIM provider.
- Save changes.
After configuration, authentik will synchronize users with Planfix. Make sure users that should be provisioned to Planfix have access to the Planfix application in authentik.
Integration check
- Ensure SSO integration with authentik is enabled in Planfix.
- Ensure an application Planfix with a SAML provider is created in authentik.
- Verify that ACS URL and Audience in authentik match the values from Planfix.
- Verify that the correct authentik Metadata URI is specified in Planfix.
- Grant a user access to the Planfix application in authentik.
- Sign in to Planfix via authentik.
- If SCIM is used, verify user creation or update in Planfix after synchronization.
Important
- If the SSO only authentication option is enabled, employees will be able to sign in only via SSO, except for employees on the exception list and the Primary Account Admin.
- If SCIM Provisioning is not enabled, deactivating a user in authentik will not automatically deactivate the employee in Planfix. In that case, you must deactivate the employee manually.
- When an employee is created via JIT Provisioning or SCIM Provisioning, if the account reaches the user limit, the subscription will be automatically extended by reducing the remaining paid subscription period for the account.
- If an employee is deactivated via SCIM Provisioning, the number of paid extra seats in the subscription will be reduced automatically.