Hello, I have some questions regarding the `passke...
# ory-selfhosting
g
Hello, I have some questions regarding the
passkey
method. If I only have
passkey.display_name
in my schema, I get a hash as the
identity_credential_identifier.identifier
in the db. But if I add
webauthn.identifier
to the schema, I get the username input from the user. I don't really understand why and couldn't find in the docs. Should I keep both even if I don't plan to use
webauthn
so I get the username as the identifier for
passkey
? Is it possible for me to generate a uuid as the passkey identifier and ask zero input from the user?
Copy code
...
    "traits": {
      "type": "object",
      "properties": {
        "username": {
          "type": "string",
          "title": "username",
          "minLength": 4,
          "maxLength": 32,
          "<http://ory.sh/kratos|ory.sh/kratos>": {
            "credentials": {
              "webauthn": {
                "identifier": true
              },
              "passkey": {
                "display_name": true
              }
            }
          }
        }
      },
      "required": ["username"],
      ...
My "webauthn" method is disabled in kratos.yml as I plan to use only passkey