Name of Device used to generate Passkey #673

Closed
opened 2026-03-13 07:59:51 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @aether6430 on GitHub (Feb 14, 2025).

How do I get the name of the decide which was used to generate the passkey? I have tried using the deviceType but it returns singleDevice

Originally created by @aether6430 on GitHub (Feb 14, 2025). How do I get the name of the decide which was used to generate the passkey? I have tried using the `deviceType` but it returns `singleDevice`
Author
Owner

@aether6430 commented on GitHub (Feb 20, 2025):

Closing this issue because I got it after reading through the docs. Sorry of the inconvenience.
For anyone who encounters a similar issue this is what I did

    passkey
      .addPasskey({
        name: parseUserAgent(navigator.userAgent),
      })
@aether6430 commented on GitHub (Feb 20, 2025): Closing this issue because I got it after reading through the docs. Sorry of the inconvenience. For anyone who encounters a similar issue this is what I did ```ts passkey .addPasskey({ name: parseUserAgent(navigator.userAgent), }) ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#673