Skip to main content

@idpass/data-collect-core / SelfServiceConfig

Interface: SelfServiceConfig

Defined in: services/SelfServiceManager.ts:36

Configuration for self-service mode within a tenant.

Properties

enabled

enabled: boolean

Defined in: services/SelfServiceManager.ts:38

Whether self-service mode is enabled for this tenant


authMethods

authMethods: ("id" | "otp" | "qr" | "oidc")[]

Defined in: services/SelfServiceManager.ts:40

Authentication methods available to beneficiaries


allowedForms

allowedForms: string[]

Defined in: services/SelfServiceManager.ts:42

Form types that beneficiaries can submit through self-service


languages

languages: string[]

Defined in: services/SelfServiceManager.ts:44

Languages supported for the self-service interface


requireReview

requireReview: boolean

Defined in: services/SelfServiceManager.ts:46

Whether all self-service submissions require review before being applied


oidcConfig?

optional oidcConfig: object

Defined in: services/SelfServiceManager.ts:48

OIDC configuration for eSignet authentication

authority

authority: string

eSignet issuer URL

clientId

clientId: string

Registered OIDC client ID

redirectUri

redirectUri: string

Web app callback URL

scope

scope: string

OIDC scopes to request

acrValues?

optional acrValues: string

eSignet level of assurance

entityMapping

entityMapping: object

How to map OIDC claims to entity fields

entityMapping.primaryClaim

primaryClaim: string

entityMapping.fallbackClaim?

optional fallbackClaim: string

entityMapping.entityField

entityField: string

entityMapping.fallbackField?

optional fallbackField: string