When using generateRegistrationOptions and providing some array for excludeCredentials, the id's are provided as a UInt8Array to the function, but the return type from the function has all the id's inside the exlcudeCredentials array to be an empty string
Reproduction Steps
pass in an array for the excludeCredentials field in the generateRegistrationOptions, make sure every id is a UInt8Array type, like the library suggests
observe the return type of the function providing each id to be an empty string
Expected behavior
The return type of generateRegistrationOptions should have the excludeCredentials array have the id not be an empty string, and instead be the proper credential id
Describe the issue
When using
generateRegistrationOptions
and providing some array forexcludeCredentials
, the id's are provided as a UInt8Array to the function, but the return type from the function has all the id's inside the exlcudeCredentials array to be an empty stringReproduction Steps
excludeCredentials
field in thegenerateRegistrationOptions
, make sure every id is a UInt8Array type, like the library suggestsExpected behavior
The return type of generateRegistrationOptions should have the excludeCredentials array have the id not be an empty string, and instead be the proper credential id
Dependencies
SimpleWebAuthn Libraries