Service Layer high complexity backend
1
Dependencies
2
Dependents
2
Entities
0
Integrations

Description

Shared backend service that provides a provider-agnostic interface for linking verified external identities (BankID or Vipps) to platform user accounts. Handles the logic for matching incoming identity claims to existing users, creating new accounts for first-time logins, and enforcing identity uniqueness constraints across providers.

Feature: BankID & Vipps Authentication

identity-verification-service

Responsibilities

  • Match verified identity claims to existing platform user accounts
  • Create new user accounts for first-time BankID or Vipps logins
  • Enforce one-to-one mapping between verified identity and platform account
  • Record identity provider linkage for audit and compliance purposes
  • Support account merging when same person authenticates via different providers

Interfaces

resolveUserByIdentityClaim(provider, subject, claims)
linkIdentityToUser(userId, provider, subject)
unlinkIdentity(userId, provider)
getLinkedIdentities(userId)
isIdentityLinked(provider, subject)
mergeIdentities(primaryUserId, secondaryUserId)

Relationships

Dependencies (1)

Components this component depends on

Dependents (2)

Components that depend on this component

Related Data Entities (2)

Data entities managed by this component