German eID Solution Integration
Integration Guides (API v2)
App Drop-in guide
This guide provides step-by-step instructions on how to integrate the German eID Solution using the App Drop-in.
Before you begin, make sure you have completed the following:
- App Drop-in setup with your chosen SDK
- App UI Customization
- Solution setup
Flow
Click to magnify
German eID App Drop-in flow
1. Authenticate
Create an access token to authenticate your API requests:
- You provide your
client_idandclient_secret. - You receive an
access_token.
API Reference: Create access token
Important
For security, access tokens are valid for 1 hour only. If your token expires, create a new one by making another Create access token request.
2. Create workflow
Create a workflow:
- You specify the
workflowNameand provide your unique identifier for the client. - You receive a
workflowIdand a Fourthlineclient_id.
API Reference: Create workflow
3. Create the SDK session
Create the App Drop-in session:
- Provide the
workflowId. - Receive a
validationCodeto pass to the SDK in your backend.
API Reference: Create SDK session
Important
- SDK validation codes are single-use and expire after 2 hours.
- If the client stops partway through the workflow, create a new SDK session.
- When the client closes the app, the
validationCodeis invalidated and removed from the cache.
4. Download report
When the workflow status is completed, retrieve the report:
- You provide the
workflowId. - A successful response returns the report as a JSON format.
API Reference: Get report as JSON
Recipe
Statuses
Important
Prevent duplicate submissions by following the recommended handling described here.
Possible notifications include:
| Status | Guidance |
|---|---|
new | Description: The workflow is successfully created. Action: • SDK integration: Wait for the next status. |
pending | Description: We are validating the data. Action: Wait for the next status. Status code: 1000 |
inconsistent_data | Description: We found inconsistent data (rare scenario). Action: Create a new workflow. Status code: 3710 |
rejected | Description: We concluded that the electronic ID document is not valid. Status code: 4500 |
completed | Description: We have processed the case. Action: Download the CDD Report zipfile. |
3710: Sendback
This status code can accompany inconsistent_data status and includes:
| Status code | Guidance | |
|---|---|---|
3001 | Description: German eID: the electronic identification process was not completed. Action: Create a new workflow. |
4500: Rejection
Fatal
The client cannot retry.
This status code can accompany completed status and includes:
Updated 5 days ago