Skip to content

Commit

Permalink
refactor(docs): add origin parameter in Fido2ExternalAuthenticator sc…
Browse files Browse the repository at this point in the history
…ript for attestation and assertion API calls #9248

Signed-off-by: imran-ishaq <[email protected]>
  • Loading branch information
imran-ishaq committed Oct 29, 2024
1 parent 0101b5d commit 860260f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ def prepareForStep(self, configurationAttributes, requestParameters, step):

try:
assertionService = Fido2ClientFactory.instance().createAssertionService(metaDataConfiguration)
assertionRequest = json.dumps({'username': userName}, separators=(',', ':'))
assertionRequest = json.dumps({'username': userName, 'origin', domain}, separators=(',', ':'))
assertionResponse = assertionService.authenticate(assertionRequest).readEntity(java.lang.String)
print "assertionResponse %s " % assertionResponse

Expand All @@ -190,7 +190,7 @@ def prepareForStep(self, configurationAttributes, requestParameters, step):
try:
attestationService = Fido2ClientFactory.instance().createAttestationService(metaDataConfiguration)

basic_json = {'username': userName, 'displayName': userName}
basic_json = {'username': userName, 'displayName': userName, 'origin', domain}


print " basic_json %s" % basic_json
Expand Down

0 comments on commit 860260f

Please sign in to comment.