Onboarding Data Space Participant in Data Space Operator Authentik
Table of Contents
Overview
This section describes the operational procedure for federated authentication by connecting a Data Space Participant Authentik instance to the Data Space Operator Authentik.
The supplied federation model uses:
Data Space Participant Authentik as the external Identity Provider;
Data Space Operator Authentik as the central identity broker;
OIDC discovery between Authentik instances;
A central OAuth Source in the Operator;
JIT enrollment based on invitations for the Operator shadow user;
Source-property mappings for OE attributes.
Directory Structure
user-management repository additionally provides:
The above shell script calls
This script automates the creation or update of the Data Space Operator OAuth federation source and appends Participant redirect URIs to the central OIDC provider.
For an implementation-oriented view, please consult the Implementation Details for Onboarding Python Script section.
Sequence Flow
Prerequisites
Before onboarding a Data Space Participant, verify the following:
On the Data Space Participant Side
The Data Space Participant Administrator must make sure the following
Data Space Participant Authentik is deployed and reachable.
Data Space Participant Authentik uses a valid SSL certificate.
Data Space Participant OE blueprint has been applied.
Data Space Participant users can authenticate on the Data Space Participant Authentik instance.
Data Space Participant provider exposes the OE JWT claims:
orgIdwalletIdsignerServerwellKnownUrl
Operational Administrator access is available by creating an initial setup account in Authentik.
The Data Space Participant OIDC well-known configuration URL is reachable from the Data Space Operator environment.
Checks if, within
/participantdirectory, the JSON configuration fileconfig-for-onboarding-<participant_app_slug>.jsonhas been generated. For detailed JSON configuration content, please consult Prepare Participant Configuration on Data Space Operator section.
On the Data Space Operator Side
Data Space Operator Authentik is deployed and reachable.
The Dataspace Operator blueprint has been applied.
The central OIDC provider exists.
Data Space Operator Authentik Server contains the following artifacts after deploying the User Management Package:
oe-central-federated-jit-enrollment

oe-central-federated-oidc-mapping- this sets automaticallyupstream_idpclaim within the JWT in federated authentication

oe-authentication-flow- central authentication flow
oe-authentication-identification- central identification stage

Administrator- or container-level execution access is available for the onboarding script.
Onboarding steps
The Data Space Participant initialization script generates a JSON file containing the configuration details of the Participant’s Authentik Server. The Data Space Operator must receive this file from the Participant before completing this procedure, as it provides the necessary parameters for integrating the Participant’s Identity Provider into the dataspace.
The User Management Package repository includes the participant onboarding script in the <user-management>/dataspace-operator/docker-compose/authentik/scripts directory. This shell script accepts a JSON file ( config-for-onboarding-<participant_app_slug>.json ) with the following required keys:
Field Description
authentik_app_slug
string
Application Slug used for the Operator OAuth federation source.
participant_idp_consumer_key
string
Client ID created on the Participant Authentik OIDC provider.
participant_idp_consumer_secret
string
Client secret created on the Participant Authentik OIDC provider. Treat it as sensitive information.
participant_idp_well_known_url
string
Participant OIDC discovery endpoint.
central_idp_provider_name
string
Existing Data Space Operator OIDC provider whose redirect URI set is updated.
participant_redirect_uris
Array<string>
Redirect URIs that must be appended to the existing central provider without removing existing URIs.
Copy the Participant Configuration file on the Dataspace Operator Authentik Server
Copy the participant configuration file to the <user-management>/dataspace-operator/docker-compose/authentik/participant-configs directory on the server that runs the Dataspace Operator Authentik server.
Run the onboarding Script
From a terminal on the server that hosts the Data Space Operator Authentik server, run the onboarding script as follows:
or
Verification
Perform the following verification steps:
Federated Authentication
Access Ocean Enterprise Marketplace in a browser as a Data Space Participant user, and click on Login.

Select Login in to OE Marketplace

Marketplace Interface forwards the login request to its Data Space Operator Authentik instance, and if the OAuth source has been added successfully, it will be displayed where it is highlighted in green in the screenshot below.

Select the correct authentication source for the dedicated Participant user and provide the credentials username or e-mail and password for the Participant user

Token Claims Verification
After logging in to OE Marketplace with the Participant OAuth source from the Federated Authentication section, the JWT token issued by the Data Space Operator can be retrieved from Broswer's Application tab, under OE Marketplace Cookies, if DevTools are installed on specific Browser.

Inspect the token claims issued by the Operator to the OE application by accessing https://www.jwt.io/ and paste encoded JWT token extracted from Cookies, from step 1.

Verify the required OE claims according to the application's requested scopes in the decoded payload:
upstream_idpsignerServerwalletIdwellKnownUrlorgIdnameemail
Troubleshooting
This section targets common error resolution for Participant onboarding in the federated authentication procedure.
It will be updated based on errors and issues encountered by organizations during deployment and operation.
Operator cannot fetch the Participant well-known URL
Check:
DNS resolution;
routing or firewall rules;
TLS certificate;
Participant Authentik availability;
discovery URL correctness.
The repository script currently performs the discovery HTTP request for connectivity testing.
Federation source exists, but login is not offered
Verify that:
the source is enabled;
it is attached to the Operator Identification Stage;
source labels are enabled to be displayed in the Authentik login form;

the authentication flow being used by the application is the expected flow.
OE claims are missing
Verify:
the Participant user actually has
orgId,walletId,signerServer, andwellKnownUrl;the Participant provider emits the corresponding scopes;
the Operator OAuth source requests the corresponding scopes;
the Operator source mapping copies the upstream values;
the Operator provider exposes the claims required by the OE application.
User is created with unknown values
The current Operator mapping uses fallback values when upstream claims are absent. Treat unknown* values as a configuration error, not valid production identity data.
Correct the Participant scope within OAuth Source from Federation and Social Login and re-test authentication.

Operational Security Notes
Store Participant OAuth client secrets outside source control.
Use unique OAuth credentials for each Participant.
Use HTTPS and valid TLS certificates for both Authentik instances.
Appendix
Implementation Details for Onboarding Python Script
Loads the Participant configuration JSON.
Validates that all required configuration keys are present.
Fetches the Participant OIDC discovery document.
Requires at least:
authorization_endpointtoken_endpointjwks_uri
Attempts to load the Participant JWKS.
Finds the configured Operator authentication flow.
Finds the central federated JIT enrollment flow.
Finds the central federated OIDC property mapping.
Creates or updates an Authentik
OAuthSource.Configures the source as OpenID Connect.
Configures the Participant client ID and secret.
Configures the Participant well-known URL and discovered OIDC endpoints.
Attaches the central OE OAuth Source property mapping.
Requests the OE scopes used by the federation.
Adds the source to the Operator authentication Identification Stage.
Enables source labels so users can select the Participant source.
Appends the supplied Participant redirect URIs to the existing central Operator OIDC provider while preserving existing redirect URIs.
Last updated