Configure OIDC with Authentik¶
This page explains how to integrate Authentik as an OpenID Connect (OIDC) identity provider to authenticate your users on Reemo.
Note
Configure SSO in Reemo¶
Access SSO Connectors in the instance Admin Area.¶
Configure SSO in Organization > SSO Connectors.¶
Create the OIDC connector in Reemo¶
From verified_user Admin Area > domain Organizations, select your organization, then go to dashboard General > passkey SSO Connectors and click New Connector > New OIDC Connector.
Enter the Friendly Name (e.g. Authentik). The Issuer URL, Client ID and Client Secret fields will be filled in after the Authentik configuration.
OIDC connector creation form.¶
Click Create to generate the connector’s callback URL. You will need it in Authentik.
Copy the callback URL generated by the OIDC connector.¶
Configure the OIDC provider in Authentik¶
Log in to the Authentik admin interface (https://[authentik_url]/if/admin/).
In Applications > Applications, click Create with Wizard. Enter the application name (e.g.
reemo) then choose an OAuth2/OpenID Provider.Configure the provider:
Client type: Confidential.
Redirect URIs: paste the callback URL from the Reemo connector (Strict mode).
Signing Key: select a certificate (e.g. authentik Self-signed Certificate).
Scopes:
openid,profile,email.
Warning
Make sure the provider allows the Authorization Code flow (Grant Types field). The wizard enables it by default; without it, Authentik rejects the authorization request (invalid_request).
Client Type, Client ID / Secret and Grant Types (Authorization Code) of the provider.¶
Open the provider (Applications > Providers >
reemo). The Overview tab provides everything Reemo needs:Client ID and Client Secret (the latter via Edit).
OpenID Configuration Issuer, in the format
https://[authentik_url]/application/o/[slug]/.
Retrieve the Client ID, the OpenID Issuer and the provider endpoints.¶
Complete the OIDC connector in Reemo¶
Complete the connector with the Authentik information:
Issuer URL:
https://[authentik_url]/application/o/[slug]/. Reemo auto-discovers the endpoints from<issuer>/.well-known/openid-configuration.Client ID and Client Secret of the Authentik provider.
Scopes: leave empty to use
openid profile emailby default.Attributes (optional): leave empty to use the standard OIDC attributes (
preferred_username,email,name).
Enter Issuer URL, Client ID and Client Secret, then enable the connector.¶
Enable the connector (check Enabled) then click Update (or Create) to save.
Declare users¶
Two approaches are available to grant SSO access to users.
Select Provision SAML User from the New User menu.¶
The same button provisions both SAML and OIDC users.
Enable Just In Time Provisioning to create accounts on first login.¶
Manage rights dynamically from the directory¶
Reemo can read each user’s group membership and automatically assign access to the corresponding collections.
In Authentik
Authentik’s profile scope includes a groups claim by default, containing the user’s group names. Make sure the profile scope is assigned to the provider (see above), then create your groups under Directory > Groups and add users to them.
Note
For full control over the claim content, you can create a dedicated Scope Mapping (Customization > Property Mappings) emitting the groups claim.
In Reemo
Open the OIDC connector form (Admin Area > General > SSO Connectors), Extra mapping section.
In the Collection field, enter
groups, then click Update.
Enter the group claim name in the Collection field of Extra Mapping.¶
In Inventory > Collections, edit a collection and fill the SSO Mapping Identifier field with the corresponding group name.
Log in via OIDC¶
Once the connector is active and users are declared (or JIT is enabled), your users select the OIDC tab on the login screen, pick the connector, and are redirected to Authentik.
Select the OIDC tab then the connector to be redirected to Authentik.¶