new configuration version
This commit is contained in:
parent
9fd9da890a
commit
24089c0ef3
|
@ -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:
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue