From 24089c0ef3b39749b1492e0d8cc204be77b51e43 Mon Sep 17 00:00:00 2001 From: haburger Date: Mon, 3 Feb 2025 16:17:08 +0000 Subject: [PATCH] new configuration version --- .../auth/etc/nevis/k8s-nevisauth-7022472ae407577ae604bbb8.yaml | 2 +- .../auth/var/opt/nevisauth/default/conf/fido2_auth.groovy | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) 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)