Government & Nonprofit

Digital Identity Systems: How National eIDs and ID Wallets Work

December 4, 2026 · 11 min read

Digital Identity Systems: How National eIDs and ID Wallets Work

Proving who you are online is still surprisingly hard. People upload photos of passports, answer security questions and create dozens of accounts that each need verifying. Governments, banks and businesses are responding with digital identity systems: national electronic IDs, mobile ID wallets and verifiable credentials that let people prove facts about themselves securely and privately. This guide explains how digital identity systems work, the main models from national eIDs to EU Digital Identity Wallets, assurance levels and standards, a tested example of selective disclosure, privacy and security, use cases for businesses, costs and how to integrate digital identity into your services.

What Is Digital Identity?

Digital identity is the set of information and credentials that lets a person, organisation or device prove who they are, or prove specific facts about themselves, in online interactions. A complete system covers three steps:

  • Identity proofing: establishing that a person is who they claim to be, for example by checking a passport and matching a selfie to it.
  • Authentication: proving later that the same person is returning, using passwords, passkeys, biometrics or devices.
  • Federation and sharing: allowing a trusted identity to be used with other services, or sharing verified attributes such as age or address.

Why Digital Identity Matters Now

Several developments are converging. In the European Union, the revised eIDAS regulation requires every member state to offer at least one EU Digital Identity Wallet by 24 December 2026, though in September 2026 Euronews reported that 24 of the 27 member states were expected to miss that deadline. In the United States, NIST published the final SP 800-63-4 Digital Identity Guidelines in July 2025, updating requirements for identity proofing, authentication and federation. Mobile driving licences are spreading, India's Aadhaar shows identity at national scale, and businesses face rising fraud from synthetic identities and deepfakes. Meanwhile, regulations on age verification and anti-money laundering increase the number of services that must check identity.

Models of Digital Identity

ModelHow it worksExamples
National eID cardGovernment-issued card with a chip used with a reader or phoneMany European ID cards
Central national ID systemA unique number with central authentication, often biometricIndia's Aadhaar
Federated loginA trusted identity provider authenticates users for many servicesBank ID schemes in Nordic countries, government sign-in services
Identity walletCredentials stored on the user's phone and shared selectivelyEU Digital Identity Wallets, mobile driving licences
Commercial identity verificationDocument and biometric checks performed by a provider at onboardingKYC providers for fintech and marketplaces

For businesses, the practical question is which of these your customers have and which you are allowed or required to accept. Our guide to KYC verification explains commercial identity checks for financial services.

Assurance Levels

Not every transaction needs the same certainty. Frameworks define levels of assurance so services can choose an appropriate one. NIST's guidelines separate identity assurance (how well the person was proofed), authenticator assurance (how strong the login is) and federation assurance (how securely identity assertions are passed). The EU's eIDAS framework uses low, substantial and high levels. A newsletter needs none of this; opening a bank account or filing taxes needs substantial or high assurance. Matching assurance to risk avoids both fraud and unnecessary friction.

Standards Behind Modern Wallets

  • OpenID Connect for federated login; our guide to OAuth 2.0 and OpenID Connect explains how it works.
  • OpenID for Verifiable Credential Issuance and Presentations, which define how wallets receive and share credentials.
  • W3C Verifiable Credentials and SD-JWT, data formats that support signed, selectively disclosable claims.
  • ISO/IEC 18013-5 and 18013-7 for mobile driving licences, in person and online.
  • FIDO2 and passkeys for phishing-resistant authentication; see our guide to passkeys.

Selective Disclosure: A Tested Example

One of the biggest privacy improvements in modern digital identity is selective disclosure. A shop selling age-restricted goods needs to know a customer is over 18; it does not need their name, date of birth or nationality. This Python example mimics the idea behind SD-JWT: the issuer salts and hashes each claim and signs only the list of hashes, so the holder can later reveal individual claims and the verifier can check them without seeing the rest.

# selective_disclosure.py - prove "over 18" from a signed credential without revealing the date of birth
import hashlib, hmac, json, secrets

ISSUER_KEY = b"issuer-demo-key"          # real wallets use public-key signatures (e.g. ECDSA), not a shared secret

def digest(salt, name, value):
    return hashlib.sha256(json.dumps([salt, name, value]).encode()).hexdigest()

def issue(claims):
    """Issuer salts and hashes every claim, then signs only the list of hashes."""
    disclosures = {k: (secrets.token_hex(8), v) for k, v in claims.items()}
    hashes = sorted(digest(s, k, v) for k, (s, v) in disclosures.items())
    signature = hmac.new(ISSUER_KEY, json.dumps(hashes).encode(), "sha256").hexdigest()
    return {"hashes": hashes, "signature": signature}, disclosures

def present(credential, disclosures, reveal):
    return {"credential": credential, "revealed": {k: disclosures[k] for k in reveal}}

def verify(presentation):
    cred = presentation["credential"]
    expected = hmac.new(ISSUER_KEY, json.dumps(cred["hashes"]).encode(), "sha256").hexdigest()
    if not hmac.compare_digest(expected, cred["signature"]):
        return "rejected: issuer signature invalid"
    for name, (salt, value) in presentation["revealed"].items():
        if digest(salt, name, value) not in cred["hashes"]:
            return f"rejected: '{name}' was altered"
    return f"accepted: {', '.join(f'{k}={v}' for k, (_, v) in presentation['revealed'].items())}"

credential, disclosures = issue({"given_name": "Sara", "family_name": "Khan", "birth_date": "1984-03-09",
                                 "age_over_18": True, "nationality": "PK"})
shop = present(credential, disclosures, ["age_over_18"])
print("shop sees:", list(shop["revealed"]), "->", verify(shop))
print("birth date shared with shop:", "birth_date" in shop["revealed"])
bank = present(credential, disclosures, ["given_name", "family_name", "birth_date"])
print("bank ->", verify(bank))
forged = present(credential, disclosures, ["age_over_18"])
forged["revealed"]["age_over_18"] = (forged["revealed"]["age_over_18"][0], False)
print("edited claim ->", verify(forged))

Output:

shop sees: ['age_over_18'] -> accepted: age_over_18=True
birth date shared with shop: False
bank -> accepted: given_name=Sara, family_name=Khan, birth_date=1984-03-09
edited claim -> rejected: 'age_over_18' was altered

The shop verifies a single claim, "age over 18", and never sees the date of birth. A bank opening an account receives the name and date of birth it needs, from the same credential. When someone edits the revealed claim, its hash no longer matches the signed list and verification fails. The random salts stop a verifier from guessing hidden values by hashing likely dates of birth. Real wallets use public-key signatures so anyone can verify without sharing the issuer's secret, bind credentials to a key held securely on the user's device, check revocation status and follow the formats defined in the relevant standards.

Privacy by Design

Digital identity can strengthen privacy or erode it, depending on design:

  • Data minimisation: share attributes, not whole identity documents.
  • Unlinkability: avoid a single identifier that lets services track people across contexts.
  • No phone-home tracking: issuers should not learn every place a credential is used.
  • User control: people see what is requested and approve each disclosure.
  • Voluntary use and alternatives for people without smartphones.
  • Legal limits on which services may request which attributes.

Security and Fraud

Identity systems are high-value targets. Threats include document forgery, deepfake selfies in remote onboarding, account takeover, SIM swap attacks on SMS codes and compromised devices. Defences include liveness detection, document chip reading with NFC, device-bound keys in secure hardware, phishing-resistant authentication, risk-based step-up checks and continuous monitoring of suspicious behaviour. Our guide to mobile app security best practices covers protecting the wallet app itself.

Use Cases for Businesses

SectorUse case
Banking and fintechRemote account opening, strong customer authentication, loan applications
TelecomsSIM registration and eSIM activation
Retail and online platformsAge verification for restricted goods and content
TravelCheck-in, border control, hotel registration
HealthcarePatient identity for online services and prescriptions
EmploymentRight-to-work checks and verified qualifications
Property and legalTenant screening, signing contracts with qualified e-signatures
Public servicesSingle sign-in to tax, benefits and licensing

Digital identity often pairs with e-signatures; our guide to e-signature integration covers that side. Governments typically build identity as part of a wider GovTech strategy and digital public infrastructure.

Integrating Digital Identity Into Your Service

  1. Map your requirements: which attributes you need, the assurance level and any legal obligations.
  2. Choose accepted credentials: national eIDs, wallets, bank IDs or commercial verification, depending on your market.
  3. Integrate through standards such as OpenID Connect and OpenID4VP rather than proprietary APIs where possible.
  4. Design fallbacks for users without wallets or eIDs.
  5. Store as little as possible: keep verification results and references, not document images, unless required.
  6. Test with real users, including older users and people with disabilities.

Architecture of an Identity Wallet or Verifier

  • Wallet app: secure key storage, credential storage, consent screens and presentation flows, usually native or cross-platform; see our comparison of Flutter vs React Native.
  • Issuer service: verifies identity and issues signed credentials.
  • Verifier service: requests specific attributes, validates signatures, checks revocation and trust lists.
  • Trust framework: registries of approved issuers and verifiers and their certificates.
  • Back-office tools: audit logs, support tools and revocation management.

How Much Does Digital Identity Integration Cost?

The figures below are indicative estimates.

ProjectTypical scopeIndicative cost
Integrate an identity provider or KYC serviceOpenID Connect or API integration, onboarding flow, fallbacksRoughly $15,000 to $60,000 plus per-check fees
Verifier for wallets and mobile IDsCredential requests, verification, trust lists, auditRoughly $50,000 to $150,000
Credential issuer platformProofing, issuance, revocation, admin toolsRoughly $150,000 to $400,000
Full wallet appSecure storage, multiple credential types, certificationOften $400,000 and above

Designing the User Experience

Identity checks are often the point where customers abandon an onboarding journey. Good design reduces that drop-off. Explain upfront why identity is needed and how long it will take. Show exactly which attributes a service is requesting before the user approves, in plain language rather than technical claim names. Offer the fastest route first, such as a wallet or bank ID, and fall back to document and selfie checks only when needed. Give clear guidance during document capture, such as lighting and framing tips, and useful error messages when something fails. Accessibility matters too: biometric checks must work for people with different skin tones, ages and disabilities, and there must be an alternative for those who cannot use them.

Digital Identity for Organisations and Devices

Identity is not only about people. Businesses need to prove who they are when opening accounts, signing contracts and trading across borders, and the EU framework includes wallets and credentials for legal entities. Employees act on behalf of organisations, which requires delegation and representation rights. Devices and software services also need identities, managed with certificates and keys, so they can authenticate securely. A complete identity strategy for a business considers customers, employees, partners and machines, with appropriate assurance and lifecycle management for each.

Common Mistakes

  • Asking for more attributes or higher assurance than the service needs.
  • Storing copies of passports and driving licences indefinitely.
  • Relying on SMS codes alone for high-risk accounts.
  • Building proprietary integrations instead of using open standards.
  • Ignoring users who do not have smartphones or official documents.

Key Takeaways

  • Match assurance levels to risk: most services need far less than full identity proofing.
  • Use open standards such as OpenID Connect, verifiable credentials and passkeys instead of proprietary integrations.
  • Request the minimum attributes, and prefer selective disclosure such as proving age without sharing a date of birth.
  • Store verification results rather than copies of documents wherever the law allows.
  • Always provide fallbacks for people without smartphones, wallets or official documents.
  • Prepare now for EU Digital Identity Wallets if you serve European customers in regulated sectors.

Frequently Asked Questions

Do I need to store copies of ID documents?

Usually not. Many services only need to store the verification result, the assurance level and a reference, unless a specific regulation requires keeping copies.

What is digital identity?

Digital identity is the information and credentials that let people prove who they are, or prove facts about themselves, when using online services.

What is an EU Digital Identity Wallet?

A phone app provided under EU law that lets citizens and residents store identity data and credentials, sign documents and share attributes selectively with public and private services.

What are assurance levels?

Levels describing how confident a service can be in a person's identity, from low to high, based on how the person was verified and how they authenticate.

What is selective disclosure?

The ability to share only specific facts from a credential, such as being over 18, without revealing the rest of the information in it.

Is digital identity secure?

Well-designed systems use device-bound keys, phishing-resistant authentication, signed credentials and liveness checks, making them more secure than uploading document photos.

Do businesses have to accept digital identity wallets?

In the EU, certain regulated services will be required to accept EU Digital Identity Wallets after they become available. Requirements vary by country and sector.

Build Trusted Digital Identity Experiences

Digital identity done well reduces fraud and friction while protecting privacy. Our team builds secure mobile apps, verification services and identity integrations for fintech, public sector and marketplace clients. Contact us to discuss your project.

Want this built for you?

Our team offers Website Deploy On Vercel — get a free quote.

View Services