DigiD SAML interface Assurance levels Assessment-proof

Custom DigiD integration development

Appfront builds custom connections of your portal or application to DigiD, so that citizens can log in securely with the login method they already know. We integrate via Logius's official DigiD SAML interface, at the assurance level that suits your service, with PKIoverheid certificates, watertight logging and a set-up that passes the annual DigiD assessment.

What is a DigiD integration?

DigiD is the Dutch government service that lets citizens identify themselves digitally with government and designated organisations. DigiD is managed by Logius, part of the Ministry of the Interior and Kingdom Relations. A citizen logs in with the method they know (username and password, SMS verification or the DigiD app) and your organisation gets certainty about which citizen it is dealing with.

In practice, a DigiD integration means your application connects as a service provider to Logius's DigiD SAML interface. At login, your application redirects the citizen to DigiD; after successful authentication at the agreed assurance level, you receive the citizen service number (BSN) back and can show the citizen their personal environment. The four levels — Basic, Substantial, High and Midden — determine how strongly the identity has been verified; for particularly privacy-sensitive data, at least Substantial is required.

Appfront builds in line with the official Logius documentation and the DigiD standards framework. We set up the SAML integration, certificates, logging and error handling so that the connection is not only technically correct but also passes the mandatory annual ICT security assessment. That way every citizen logs in reliably, even at peak moments such as the tax return period or a local election.

Secure login for citizens

Citizens log in with a login method they already know and trust. Your organisation receives the citizen service number back with certainty, without having to manage passwords or login credentials itself.

Four assurance levels

Basic, Midden, Substantial or High — you choose the level that matches the sensitivity of your data. For medical or other particularly sensitive data, Logius requires at least Substantial, including the verified DigiD app.

Connecting to Logius

We guide you through the entire onboarding process with Logius: from the application and the exchange of signed metadata with PKIoverheid certificates, to the first go-live in the production environment and the annual assessment.

Our development process for DigiD integrations

We work with a proven methodology that removes uncertainty early and delivers a connection that passes the assessment. From determining the right assurance level and applying to Logius through to going live and ongoing management, every step is aimed at an integration that your organisation can understand and account for itself.

1
Analysis & level

We determine which assurance level fits your service, which applications need to connect and which data you want to show after login, and align the application to Logius accordingly.

2
Architecture

We design the SAML integration, arrange the PKIoverheid certificates and signed metadata, and draw up a logging and error-handling strategy in line with the standards framework.

3
Development

Implementation with automated tests, structured logging and monitoring, first against DigiD's pre-production environment. You get to see working builds along the way.

4
Go-live & assessment

Controlled connection to the production environment, followed by ongoing maintenance, certificate management and annual preparation for the DigiD assessment.

What a DigiD integration delivers in practice

Every DigiD integration is set up specifically for your application, your desired assurance level and your adjacent systems. Below are the features we most often deliver for organisations that want citizens to log in securely.

SAML connection to DigiD

Full connection to the DigiD SAML interface: your application as a service provider, signed metadata exchange with PKIoverheid certificates and correct processing of the authentication response, including the returned BSN (citizen service number).

Tailored assurance level

Set-up at Basic, Midden, Substantial or High, enforced per application or even per action. For example, you can allow login at Midden but only show sensitive data after a step up to Substantial.

Session and authorisation management

Secure session management with correct timeouts, single logout and linking of the BSN to your own user administration. Citizens see only their own file, with strictly separated rights and authorisations.

Logging & audit trail

Complete, tamper-proof logging of authentications and relevant events, as the standards framework requires. The audit trail serves as evidence during the annual DigiD assessment and in incident investigations.

DigiD Machtigen & eIDAS

Optionally extendable with DigiD Machtigen (authorisation), so someone can act on behalf of another person, and with eIDAS for citizens from other EU member states who access your service with their national login method.

Certificate & metadata management

Monitoring of the validity of your PKIoverheid certificates and timely renewal, plus correct management of the metadata exchanged with DigiD. This prevents an expired certificate from taking down the citizen login.

Typical use cases in practice

A DigiD integration works out very differently for each organisation. We often see a number of contexts recur — anywhere citizens need to be able to log in securely to view their own data or file.

Municipal citizen portals

MijnOmgeving portals where residents handle their affairs: reporting a house move, requesting an extract or tracking the status of an application. DigiD guarantees that citizens are who they say they are. Also read about software for municipalities and building a municipality website.

Healthcare & patient portals

Patient portals and DVZA environments where people view their medical record, test results or appointments. Because this involves special category personal data, we connect at Substantial level or higher as standard, with the verified DigiD app.

Education & student finance

Educational institutions and implementing organisations where students and parents manage enrolments, applications and financial arrangements. DigiD ties logging in to the citizen service number (BSN), so every file belongs to the right person.

Pensions & insurers

Pension funds and designated insurers that give participants and policyholders secure access to their personal overview. Citizens log in with DigiD to their pension overview, policies or claims, without separate accounts.

Technology we use

We build DigiD integrations on Logius's official SAML 2.0 interface, combined with the backend stack that suits you. The exact choice depends on your existing application and infrastructure, so that your own team can manage the connection and account for it during the assessment.

If your integrations need to demonstrably comply with the BIO, take a look at our BIO-compliant integrations.

DigiD SAML interface (SAML 2.0) PKIoverheid certificates (G1 root) Signed metadata exchange Assurance levels Basic to High DigiD app & ID check DigiD Authorisation eIDAS integration Java / .NET / PHP / Node.js / Python XML signing & encryption TLS 1.2+ (back-channel) Pre-production & production environment Complete audit logging Single logout & session management DigiD standards framework Monitoring & alerting Certificate rotation

Why Appfront for your DigiD integration?

Appfront has extensive experience building integrations for (semi-)public sector organisations in the Netherlands. We always start with a thorough analysis of your existing systems and the right assurance level. A DigiD connection must not only be technically correct, but also pass the mandatory assessment and work in practice for your residents or participants.

For every integration we write clear documentation and make sure your own team, or a future supplier, can understand, manage and account for the connection to the auditor. No black box, but transparent code and clear agreements on certificate management, monitoring and logging.

You work with a single point of contact who understands both the technology of the SAML interface and the requirements of the standards framework. That keeps communication lines short, prevents miscommunication and speeds up decisions when choices have to be made during the connection process.

Also take a look at our broader services around eHerkenning integrations, MijnOverheid integrations, SURFconext integrations and custom software. Or get in touch directly for a no-obligation advisory conversation.

  • Experience with the DigiD SAML interface and the standards framework
  • Familiar with PKIoverheid certificates and signed metadata
  • Set-up at the right assurance level (Basic to High)
  • Support with connecting to Logius and the annual assessment
  • Secure by default: complete logging, encryption and access management
  • Structured error handling and monitoring from day one
  • Clear documentation that your team and the auditor can read
  • A single point of contact, no passing you between account managers
  • Ongoing maintenance, certificate management and further development
  • An approach tailored to your existing IT landscape

Security and privacy in DigiD integrations

With DigiD, everything revolves around citizens' identity and the citizen service number (BSN), which is highly sensitive personal data. Connecting to DigiD is therefore subject to a mandatory annual ICT security assessment: an independent auditor tests your service against the DigiD standards framework, and the report must be submitted to Logius within two months of connecting to the production environment. Appfront builds the integration to be assessment-proof, with complete logging, encryption, strict access management and the documentation the auditor needs.

The technical security of the interface rests on PKIoverheid: the service provider supplies signed metadata with a PKIoverheid certificate, and the back-channel connections run over TLS with machine certificates under the G1 root. We document the data flows around the BSN so that your processing register is complete and you demonstrably comply with the GDPR. The audit logging serves as evidence during the assessment and in any incident investigation.

Also read how we approach AI for municipalities and government or take a look at our custom water authority software. Questions about your situation? Get in touch.

Alongside DigiD, the European digital identity wallet is on its way, and many public service providers will be required to accept recognised wallets. What this takes, and why you build this route alongside your existing login methods, is explained on accepting the EUDI wallet in your software.

  • Annual DigiD assessment according to the standards framework
  • PKIoverheid certificates and signed metadata
  • Encryption in transit (TLS 1.2+) and at rest
  • Complete, tamper-proof audit logging
  • Role-based access and least-privilege principles
  • Monitoring and alerting for anomalies
  • Timely certificate rotation and metadata management
  • Documentation for your record of processing activities

Frequently asked questions about DigiD integrations

Answers to the questions we are asked most often about DigiD connections.

A DigiD integration is a technical connection between your web application and DigiD, the government facility from Logius that lets citizens log in digitally and securely. The integration runs via the DigiD SAML interface: your application acts as the service provider and DigiD as the identity provider. After successful authentication, your application receives the citizen service number (BSN) of the logged-in citizen at the agreed assurance level. An integration requires registration with Logius and an annual ICT security assessment.

DigiD is intended for citizens (natural persons) logging in to government and designated organisations. If you want businesses, entrepreneurs or professionals to log in on behalf of an organisation, you use eHerkenning, the business-to-government counterpart of DigiD. Many organisations offer both. Appfront builds both DigiD and eHerkenning integrations and can combine them in a single login screen.

DigiD has four assurance levels: Basic (logging in with a username and password), Middle (username, password and an SMS check or the DigiD app), Substantial (the DigiD app, with an identity document verified through the ID check) and High (logging in with an eID on an identity document). The level required depends on the sensitivity of the data; for particularly privacy-sensitive data such as medical records, Logius prescribes at least Substantial. Together with you, we determine the appropriate level using the Handreiking betrouwbaarheidsniveaus (assurance level guidelines).

The integration runs via the DigiD SAML interface, based on the SAML 2.0 standard. Your application exchanges signed metadata with DigiD, and a PKIoverheid certificate is mandatory for signing. The back-channel TLS connections use machine certificates under the PKIoverheid G1 root. We implement the integration in the backend stack that suits you (Java, .NET, PHP, Node.js or Python) and set up logging and monitoring as the standards framework requires. Logius is working on an OIDC interface; until that is widely available, SAML is the standard.

The cost depends on the assurance level you need, the number of applications that must connect, the complexity of your existing system and the support you want with the onboarding process and the annual ICT security assessment. Ongoing maintenance, monitoring and certificate management also play a part. We always provide a clear quote after a no-obligation analysis of your situation.

Every online service connected to DigiD must undergo an annual ICT security assessment (the DigiD assessment). An independent auditor tests the service against the standards framework, and the assessment report must be submitted to Logius within two months of connecting to the production environment. Appfront builds the integration to be assessment-proof, with the right logging, encryption, access management and documentation, and supports you in providing evidence to the auditor.

Yes. Appfront regularly takes over the maintenance of existing DigiD connections, even if they were originally set up by another party. We review the SAML configuration, certificates, logging and error handling, document the current setup and draft improvement proposals. From that point on, we handle changes, timely renewal of PKIoverheid certificates, monitoring and the annual preparation for the DigiD assessment.

DigiD is intended for government organisations and organisations with a public or statutory task that are permitted to process the citizen service number (BSN), such as municipalities, healthcare providers, educational institutions, pension funds and certain insurers. Connecting goes through Logius, which assesses per organisation whether you are eligible. Appfront guides you through the entire process: from the application and the technical connection to the first go-live and the assessment.

Ready to build your DigiD integration?

Tell us which application you want to connect to DigiD and which assurance level your service requires. We're happy to advise on the interface, the PKIoverheid certificates and the annual assessment. A no-obligation initial conversation will give you a clear picture of the possibilities within half an hour.

Edit content