OpenConext / OpenConext-myconext

A (guest) IdP for OpenConext
https://eduid.nl/
4 stars 7 forks source link

iDIN prefixes #516

Closed phavekes closed 1 week ago

phavekes commented 1 week ago

This issue is imported from pivotal

IDIN sends the prefixes ("van", "de" enz) in the "legalLastNamePrefix"  field. Concat these with the legalLastName.
{

    "subjectId" : "NLABNAbdh0qFGZbJtRyGL8Mxxxxx=",
    "idpScoping" : "idin",
    "issuer" : {
      "id" : "ABNANL2A",
      "name" : "ABN AMRO"
    },
    "verification" : "Decentraal",
    "serviceUUID" : "20928",
    "serviceID" : "20928",
    "subjectIssuer" : "idin",
    "initials" : "ABC",
    "firstName" : "ABC",
    "preferredLastName" : "Molen",
    "legalLastName" : "Molen",
    "legalLastNamePrefix" : "van der",
    "preferredLastNamePrefix" : "van der",
    "dateOfBirth" : 138854100000,
    "createdAt" : 1719924912316,
    "expiresAt" : 1909140912316,
    "external" : true
  }
phavekes commented 1 week ago

https://github.com/OpenConext/OpenConext-myconext/commit/fd320a20836fae53d22e7b4c8f5c190c2d151239 (Peter Havekes - Jul 18, 2024)