Skip to content

[Android] Passkey.create not work when we add excludeCredentials with transports in object #85

@minhchienwikipedia

Description

@minhchienwikipedia

Hi, I got the issue when trying to add excludeCredentials when create Passkey, but it only getting error when I trying to add transports key in object.

Here is data:

// This not work
excludeCredentials: [
  {
      type: 'public-key',
      id: 'PuYe7xSiF3JbdqHn7cOwe1LzxJg',
      transports: ['hybrid', 'internal', 'nfc', 'usb'],
  }
]

This will getting error { "error": "Unknown error", "message": "An unknown error occurred" }


// This will work
excludeCredentials: [
  {
      type: 'public-key',
      id: 'PuYe7xSiF3JbdqHn7cOwe1LzxJg'
  }
]

The issue only showing on Android. Can you help me fix it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions