Custom eHerkenning integration development
Appfront builds custom eHerkenning integrations that let businesses and organisations log in securely to your portal or service. We connect your application to eHerkenning via SAML through an accredited broker, with the right assurance level (EH3 or EH4) and support for chain authorisation. This allows you to serve business users (B2G) in a compliant, reliable way and in line with the Electronic Access Services framework (Afsprakenstelsel Elektronische Toegangsdiensten).
What is an eHerkenning integration?
eHerkenning is the Dutch login method for businesses and organisations. Whereas citizens use DigiD to log in to government services, companies, institutions and intermediaries use eHerkenning to log in to government services (B2G) in a professional and reliable way. It is part of the Electronic Access Services framework (Afsprakenstelsel Elektronische Toegangsdiensten), which is overseen by Logius and sets out the rules, roles and standards.
In practice, an integration means that your service (the service provider) does not connect to eHerkenning directly, but via an accredited eHerkenning broker. Communication runs via the SAML protocol over the standardised service provider–broker interface (DV-HM). After a successful login, eHerkenning returns structured data: the organisation's KVK number, the assurance level reached and, in the case of chain authorisation, details of the intermediary acting on behalf of someone else.
Appfront works in accordance with the official eHerkenning documentation and the OWASP ASVS security standard. We align the assurance level, service catalogue and authorisation logic with the sensitivity of your service, so that the integration meets the requirements of the framework and stays reliable, even at peak times such as tax return or subsidy periods. If you also want citizens to be able to log in, we combine this with building a DigiD integration.
Login for organisations
Entrepreneurs, companies and institutions log in securely to your portal or service. eHerkenning identifies the organisation (KVK) plus the authorised person — the business counterpart of DigiD for citizens.
Levels of assurance
EH2+, EH3 and EH4 correspond to the eIDAS levels Low, Substantial and High. EH3 is the de facto standard; EH4 works with a PKI certificate. Together we determine which level suits your service.
Chain authorisation
Bookkeepers, accountants and intermediaries act on behalf of someone else. In addition to the KVK number, eHerkenning also returns the intermediary's company name, so your service knows exactly who is logging in on behalf of which organisation.
Our process for an eHerkenning integration
We follow a proven method that removes uncertainty early and delivers a stable connection that complies with the trust framework. From determining the assurance level and choosing an accredited broker to SAML implementation, testing on pre-production and go-live, every step is aimed at an integration that your own team can understand and manage.
We determine which assurance level (EH3 or EH4) suits your service, whether chain authorisation is needed, and which attributes your application must process after login.
We set up the SAML integration with an accredited broker: metadata, certificates, the service catalogue and the DV-HM interface, with a clear error-handling strategy.
Implementation with SAML response validation, structured logging and monitoring. We test thoroughly on the broker's pre-production environment before going live.
A controlled go-live with validation and a safety net, followed by ongoing management, timely certificate rotation and further development.
What an eHerkenning integration delivers in practice
Every eHerkenning integration is configured specifically for your service, the required assurance level and your existing application landscape. Below are the features we deliver most often for organisations that want business users to log in securely.
SAML single sign-on
Logging in via eHerkenning using the SAML protocol over the DV-HM interface. We handle the metadata exchange, the signing and validation of AuthnRequests and responses, and the handling of the SAML session within your application.
Enforcing assurance levels
For each service we set the required level (EH2+, EH3 or EH4) and validate that the login actually took place at that level. This way your service meets the requirements that come with the sensitivity of the data and actions involved.
Processing chain authorisation
Intermediaries who log in on behalf of someone else are correctly recognised. We process both the KVK number of the represented organisation and the intermediary's details, so your authorisation logic grants the right permissions.
Attribute & session management
We securely link the returned attributes (KVK number, assurance level, authorisations) to your user model and sessions. We apply data minimisation so that only what is necessary is stored and processed.
Certificate & metadata management
PKIoverheid certificates and SAML metadata have an expiry date. We set up management and monitoring so that rotation happens on time and your connection does not drop unexpectedly, including migration to another accredited broker if desired.
Logging, monitoring & error handling
Clear error handling for aborted or failed login attempts, with user-friendly messages and structured logging without unnecessary personal data. Monitoring and alerting flag outages at the broker or in the chain.
Typical use cases in practice
An eHerkenning integration turns out very differently for each organisation. We see a number of contexts come up often, and for each of them we pay attention to the right assurance level, chain authorisation and a smooth login experience for business users.
Business portals & municipalities
Municipalities and implementing organisations with a digital business portal where companies handle their affairs. Business owners log in with eHerkenning at the appropriate level. A good fit for building a municipality website or software for municipalities.
Subsidy & permit portals
Portals where companies apply for subsidies or arrange permits. Often with EH3 or higher and chain authorisation, so that consultancies and intermediaries can act on behalf of the applicant, with the right permissions and a full audit trail per application.
Healthcare & education (B2G)
Healthcare and education institutions that log in as businesses to government services, or that offer portals to affiliated organisations themselves. eHerkenning handles organisation identification; we link it to your roles and permissions model with data minimisation.
Business filing & registration services
Services where organisations are required to file returns or register, such as tax, RVO or water board services. Often with EH3/EH4 and strict regulatory frameworks. See also our custom water board software.
Technology we use
We build an eHerkenning integration using the SAML protocol over the DV-HM interface, combined with the backend stack that suits you. The exact choice depends on your existing application and the accredited broker, so that your own team can manage or further develop the connection.
Why choose Appfront for your eHerkenning integration?
Appfront has extensive experience building integrations for government and public-sector organisations in the Netherlands. We always start with a thorough analysis of your service, the required assurance level and your existing systems — an integration must not only be technically correct, but also comply with the Afsprakenstelsel framework and work in practice for your users.
For every integration we write clear documentation and make sure your own team, or a future supplier, can understand and manage the integration. No black box, but transparent code and clear agreements on monitoring, alerting and maintenance.
You work with a dedicated point of contact who understands both the technical and the functional side. That keeps communication lines short, prevents miscommunication and speeds up decisions when choices have to be made during the build.
Also take a look at our broader services around custom software, AI for municipalities and government and related integrations such as a MijnOverheid integration and SURFconext integration.
- Experience with SAML integrations and the DV-HM interface
- Familiar with the Afsprakenstelsel Elektronische Toegangsdiensten framework
- Knowledge of assurance levels EH2+/EH3/EH4 and eIDAS
- Support for chain authorisation and intermediary scenarios
- Secure by default — PKIoverheid certificates, signature validation, scoped permissions
- Connecting via a recognised broker, with testing in pre-production
- Structured error handling and clear user messages
- Comprehensive logging and monitoring with data minimisation
- Clear documentation that your team can read and maintain
- A dedicated point of contact and ongoing maintenance, including certificate rotation
Security and privacy in eHerkenning integrations
Logging in to government services directly involves identity, authorisations and business-sensitive data. eHerkenning is therefore built around strict standards within the Afsprakenstelsel Elektronische Toegangsdiensten framework and uses signed, encrypted SAML messages and PKIoverheid certificates. Appfront builds on top of that in line with the OWASP ASVS: certificates and keys in secure vaults, signature validation on all SAML responses, separate environments and regular audits of the login and authorisation flows.
We apply data minimisation: only the attributes your service genuinely needs — such as the Chamber of Commerce (KVK) number, the assurance level and relevant authorisations — are processed and stored. We document the data flows so that your record of processing activities is complete and you can demonstrably comply with the GDPR. We set up logging so that faults can be traced without recording unnecessary personal data.
We often combine an eHerkenning integration with adjacent custom work, such as housing association software or a secure Azure AD integration for employees. Questions about your situation? Get in touch.
For organisations looking ahead: the European digital identity wallet will also have a version for legal entities, which can be used to demonstrate things like signing authority. What that means for your application is covered in Accepting the EUDI wallet in your software.
- GDPR-compliant data processing and data minimisation
- Encryption in transit (TLS 1.2+) and at rest
- Role-based access and least-privilege principles
- Audit logs with traceable data flows
- Validation of SAML signatures and assurance level
- Monitoring and alerting for anomalies
- PKIoverheid certificate and key management with timely rotation
- Documentation for your record of processing activities
Frequently asked questions about eHerkenning integrations
Answers to the questions we are asked most often about connecting to eHerkenning.
An eHerkenning integration is a technical connection that lets businesses and organisations log in securely and reliably to your digital service or portal. eHerkenning is part of the Electronic Access Services trust framework, which is overseen by Logius. The integration runs through an accredited eHerkenning broker using the SAML protocol: your service sends an authentication request, the broker handles authentication and, after a successful login, returns the KVK number, the requested assurance level and the relevant authorisations.
DigiD is intended for citizens (B2C/C2G): individuals who log in to government services as private persons. eHerkenning is the business counterpart (B2G): entrepreneurs, companies and organisations who log in on behalf of a legal entity or business. Where DigiD identifies a person, eHerkenning identifies an organisation plus the person authorised to act for it. Many government services offer both. If you also want citizens to be able to log in, we often combine the eHerkenning integration with building a DigiD integration.
eHerkenning has the assurance levels EH2+, EH3 and EH4. These correspond to the eIDAS levels Low, Substantial and High. In practice, EH3 (Substantial) is the most widely used level and is the de facto standard for most government services. EH4 (High) uses a PKI certificate and the strictest identity verification. The required level is set by the service provider based on how sensitive the service is; always verify the exact level with eHerkenning.nl.
Chain authorisation allows someone to act on behalf of another party, for example a bookkeeper, accountant or intermediary who logs in to a government service on behalf of a business owner. The eHerkenning integration can support this: alongside the KVK number, eHerkenning also returns the intermediary's company name, so your service knows which organisation is logging in on whose behalf. We set up your authorisation logic so that chain authorisations are handled correctly.
You don't connect to eHerkenning directly, but via an accredited authentication broker (herkenningsmakelaar). Your service provider application communicates with the broker over the standardised DV-HM interface (service provider to broker) using SAML. We handle the SAML metadata, creating and validating AuthnRequests and responses, certificate management, setting up the service catalogue and processing the attributes that are returned. We first connect to a pre-production environment and test thoroughly before going live.
Yes. eHerkenning is built around strict standards within the Electronic Access Services framework (afsprakenstelsel Elektronische Toegangsdiensten) and uses encrypted, signed SAML messages and PKIoverheid certificates. Appfront builds in line with OWASP ASVS: certificates and keys in secure vaults, signature validation on all SAML responses, separation of environments and careful logging without unnecessary personal data. We document the data flows so that your record of processing activities is complete and you can demonstrably comply with the GDPR.
Yes. Appfront regularly takes over the management of existing integrations, even if they were originally set up by another party. We review the SAML configuration, certificates, service catalogue, the assurance level in use and the error handling, document the current setup and draw up improvement proposals. From that point on, we handle changes, extensions, timely certificate rotation and monitoring, for example when migrating to a different accredited broker.
An eHerkenning integration is suitable for any organisation that offers a digital service on which businesses or organisations need to log in: municipalities, provinces, water authorities, implementing bodies, healthcare and educational institutions, and private parties with a public task. Think of business portals, subsidy and permit portals, and business filing or registration services. Together with you, we assess which assurance level and which forms of authorisation suit your service.
Ready to build your eHerkenning integration?
Tell us which service you want to connect to eHerkenning and which assurance level it requires — we are happy to help you choose an accredited broker, set up chain authorisation and handle the SAML implementation. If you want to serve both citizens and organisations, we combine this with a DigiD integration. Book a no-obligation consultation.