diff --git a/DEFAULT-ADN-AGOV-PROJECT/DEFAULT-ADN-AGOV-INV/auth/etc/nevis/k8s-nevisauth-7022472ae407577ae604bbb8.yaml b/DEFAULT-ADN-AGOV-PROJECT/DEFAULT-ADN-AGOV-INV/auth/etc/nevis/k8s-nevisauth-7022472ae407577ae604bbb8.yaml index b883fff..c9296ad 100644 --- a/DEFAULT-ADN-AGOV-PROJECT/DEFAULT-ADN-AGOV-INV/auth/etc/nevis/k8s-nevisauth-7022472ae407577ae604bbb8.yaml +++ b/DEFAULT-ADN-AGOV-PROJECT/DEFAULT-ADN-AGOV-INV/auth/etc/nevis/k8s-nevisauth-7022472ae407577ae604bbb8.yaml @@ -45,7 +45,7 @@ spec: podDisruptionBudget: maxUnavailable: "50%" git: - tag: "r-4bb9433bfd44d7e52eeb40e9d46accdaaf0e1dbf" + tag: "r-c7f7304e5441912a692611196c6e13ec89ee8c65" dir: "DEFAULT-ADN-AGOV-PROJECT/DEFAULT-ADN-AGOV-INV/auth" credentials: "git-credentials" keystores: diff --git a/DEFAULT-ADN-AGOV-PROJECT/DEFAULT-ADN-AGOV-INV/auth/var/opt/nevisauth/default/conf/fido2_auth.groovy b/DEFAULT-ADN-AGOV-PROJECT/DEFAULT-ADN-AGOV-INV/auth/var/opt/nevisauth/default/conf/fido2_auth.groovy index bbd051f..2ff5745 100644 --- a/DEFAULT-ADN-AGOV-PROJECT/DEFAULT-ADN-AGOV-INV/auth/var/opt/nevisauth/default/conf/fido2_auth.groovy +++ b/DEFAULT-ADN-AGOV-PROJECT/DEFAULT-ADN-AGOV-INV/auth/var/opt/nevisauth/default/conf/fido2_auth.groovy @@ -99,6 +99,7 @@ if (path == '/nevisfido/fido2/attestation/options') { post(connection, json) def responseCode = connection.responseCode def responseText = responseCode == 200 ? connection.inputStream.text : '{"allowCredentials":[]}' + def jsonResponse = new JsonSlurper().parseText(responseText) def numOfKeys = jsonResponse.allowCredentials ? jsonResponse.allowCredentials.size() : 0 // non existing account, account without FIDO2 key , or account with disabled FIDO2 key case @@ -144,7 +145,7 @@ if (path == '/nevisfido/fido2/attestation/options') { } LOG.debug("Fido2Auth: <== Response: ${responseCode} : ${responseText}") - response.setContent(responseText) // return response from nevisFIDO "as-is" + response.setContent(responseText) response.setContentType('application/json') response.setHttpStatusCode(200) response.setIsDirectResponse(true)