new configuration version

This commit is contained in:
haburger 2025-02-03 16:17:08 +00:00
parent 9fd9da890a
commit 24089c0ef3
2 changed files with 3 additions and 2 deletions

View File

@ -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:

View File

@ -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)