Fix PM-8134: Change b64 to b64url

This commit is contained in:
Anders Åberg 2024-05-15 17:29:32 +02:00 committed by GitHub
parent 426bacfd67
commit e205d86f5f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -20,8 +20,8 @@ export class WebauthnLoginAttestationResponseRequest extends WebauthnLoginAuthen
}
this.response = {
attestationObject: Utils.fromBufferToB64(credential.response.attestationObject),
clientDataJson: Utils.fromBufferToB64(credential.response.clientDataJSON),
attestationObject: Utils.fromBufferToUrlB64(credential.response.attestationObject),
clientDataJson: Utils.fromBufferToUrlB64(credential.response.clientDataJSON),
};
}
}