You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In earlier versions before 2.5.0, mockpass used to default to the first NRIC in the assertions.saml.singPass list (or the MOCKPASS_NRIC env var) in the returned SAML artifact, if the login page was disabled.
In the current implementation when the login page is disabled, the index in the SAML artifact ID is -1 which then cannot be looked up, and mockpass returns no NRIC in the UserName inside the SAML Artifact; which is a breaking change for most users I imagine.
This seemed to happen in 7f29add - previous code had a default here which no longer exists in the new implementation here
Was this change intentional?
The text was updated successfully, but these errors were encountered:
If `SHOW_LOGIN_PAGE` is not true, the artifact sent to the
`/soap` and `/token` endpoints will translate to an index of -1.
If so, ensure that we default to what was specified in
`assertions.{singPassNric, corpPassNric}`
Fixesopengovsg#120
In earlier versions before
2.5.0
, mockpass used to default to the first NRIC in theassertions.saml.singPass
list (or theMOCKPASS_NRIC
env var) in the returned SAML artifact, if the login page was disabled.In the current implementation when the login page is disabled, the index in the SAML artifact ID is
-1
which then cannot be looked up, and mockpass returns no NRIC in theUserName
inside the SAML Artifact; which is a breaking change for most users I imagine.This seemed to happen in 7f29add - previous code had a default here which no longer exists in the new implementation here
Was this change intentional?
The text was updated successfully, but these errors were encountered: