my app was just working fine, but from yesterday , attestationResult return error as
"typeerror: clientdata challenge was not properly encoded base64url"
first i fill my session with challenge
ctx.session.challenge = Buffer.from(registrationOptions.challenge)
and then in registering fingerprint i get it from session
const challenge = new Uint8Array(ctx.session.challenge.data).buffer
whats wrong with it?
We did not do any changes, if that's what you mean. If you provide a full and running example including payloads, maybe someone can spot the issue you're encountering.
my app was just working fine, but from yesterday , attestationResult return error as "typeerror: clientdata challenge was not properly encoded base64url" first i fill my session with challenge
ctx.session.challenge = Buffer.from(registrationOptions.challenge)
and then in registering fingerprint i get it from sessionconst challenge = new Uint8Array(ctx.session.challenge.data).buffer
whats wrong with it?