Passkeys will not work in localhost.
As with many cryptographic related applications, Passkeys will not be available in insecure contexts. This means that Passkeys will not be available in HTTP contexts, but will be available in HTTPS contexts. This includes localhost, which is not considered a secure context.