Closed sindrebakk1 closed 10 months ago
The NameId
element has no contents.
Reading the SAML2 specification it is not clear to me if an empty NameId
is allowed or not. The Microsoft Token handler obviously requires the NameId node to have a value. And the Sustainsys.Saml2 library in versions 1.x and 2.x requires the NameId to be present (v3 will be more tolerant).
Sustainsys version: Sustainsys.Saml2.AspNetCore2 v2.9.2
I am getting an exeption thrown when processing login requests from a new integration I am setting up (error message and stack trace below). My guess is that there is some problem with parsing the Subject NameID element, but as far as i can tell, the SAML message looks valid.
Is there anything I am missing?
SAML Message:
Error:
This is taken from our elastic logs, wich limits entries at 800 chars. If needed, I can try to produce a complete stack trace