Engineering / ENG-1827
SAML: match the email whatever its case (Kelderby's Entra ID sends it capitalised)
Description
From this morning's rehearsal on KEL-TEST: Kelderby's Entra ID sends the email claim as typed in their directory (Ruth.Jansen@kelderby.example). The NameID is matched ignoring case; the email claim, which we fall back to when the NameID is an object id, is compared exactly. One test account was refused until Henrik changed it to lower case.
Fix
Compare the email claim ignoring case, as the NameID.
Linked issues
- relates to OPS-51 Kelderby: switch Rotterdam, Antwerp and Ghent to single sign-on, Saturday 04:30 Done
Merged (#465, ACM-354 in Emargen). None of Saturday's nine refusals was a case difference: those were different emails (SUP-1260).