Skip to content

Commit a4c4eaf

Browse files
committed
Add another log
1 parent 2158183 commit a4c4eaf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

api/endpoints/admin/passkeyAuth.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ export const handler = async (event: APIGatewayEvent): Promise<APIGatewayProxyRe
3939
const storedCredentialId = parameters["/website/admin/passkeyId"];
4040
const storedPublicKey = parameters["/website/admin/publicKey"];
4141

42+
console.error(credentialIdBase64, storedCredentialId, body.response.rawId);
4243
if (credentialIdBase64 !== storedCredentialId) {
4344
return buildErrorResponse(event, HttpResponseStatus.UNAUTHORIZED, "Credential not found");
4445
}

0 commit comments

Comments
 (0)