new configuration version
This commit is contained in:
parent
9fd9da890a
commit
159b95bd42
|
@ -45,7 +45,7 @@ spec:
|
||||||
podDisruptionBudget:
|
podDisruptionBudget:
|
||||||
maxUnavailable: "50%"
|
maxUnavailable: "50%"
|
||||||
git:
|
git:
|
||||||
tag: "r-4bb9433bfd44d7e52eeb40e9d46accdaaf0e1dbf"
|
tag: "r-c7f7304e5441912a692611196c6e13ec89ee8c65"
|
||||||
dir: "DEFAULT-ADN-AGOV-PROJECT/DEFAULT-ADN-AGOV-INV/auth"
|
dir: "DEFAULT-ADN-AGOV-PROJECT/DEFAULT-ADN-AGOV-INV/auth"
|
||||||
credentials: "git-credentials"
|
credentials: "git-credentials"
|
||||||
keystores:
|
keystores:
|
||||||
|
|
|
@ -99,6 +99,7 @@ if (path == '/nevisfido/fido2/attestation/options') {
|
||||||
post(connection, json)
|
post(connection, json)
|
||||||
def responseCode = connection.responseCode
|
def responseCode = connection.responseCode
|
||||||
def responseText = responseCode == 200 ? connection.inputStream.text : '{"allowCredentials":[]}'
|
def responseText = responseCode == 200 ? connection.inputStream.text : '{"allowCredentials":[]}'
|
||||||
|
def jsonResponse = new JsonSlurper().parseText(responseText)
|
||||||
def numOfKeys = jsonResponse.allowCredentials ? jsonResponse.allowCredentials.size() : 0
|
def numOfKeys = jsonResponse.allowCredentials ? jsonResponse.allowCredentials.size() : 0
|
||||||
|
|
||||||
// non existing account, account without FIDO2 key , or account with disabled FIDO2 key case
|
// 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}")
|
LOG.debug("Fido2Auth: <== Response: ${responseCode} : ${responseText}")
|
||||||
response.setContent(responseText) // return response from nevisFIDO "as-is"
|
response.setContent(responseText)
|
||||||
response.setContentType('application/json')
|
response.setContentType('application/json')
|
||||||
response.setHttpStatusCode(200)
|
response.setHttpStatusCode(200)
|
||||||
response.setIsDirectResponse(true)
|
response.setIsDirectResponse(true)
|
||||||
|
|
Loading…
Reference in New Issue