[GH-ISSUE #1266] Cannot set custom table name for passkey plugin #8665

Closed
opened 2026-04-13 03:49:23 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @hongkongkiwi on GitHub (Jan 22, 2025).
Original GitHub issue: https://github.com/better-auth/better-auth/issues/1266

Is this suited for github?

  • Yes, this is suited for github

To Reproduce

Try to set a table name other than "passkey" for the passkey plugin.

Current vs. Expected behavior

In other plugins for example two-factor we can set our own table name that it looks at. I would like to be able to do this for passkey plugin.

What version of Better Auth are you using?

1.1.14

Provide environment information

NA

Which area(s) are affected? (Select all that apply)

Backend

Additional context

No response

Originally created by @hongkongkiwi on GitHub (Jan 22, 2025). Original GitHub issue: https://github.com/better-auth/better-auth/issues/1266 ### Is this suited for github? - [x] Yes, this is suited for github ### To Reproduce Try to set a table name other than "passkey" for the passkey plugin. ### Current vs. Expected behavior In other plugins for example two-factor we can set our own table name that it looks at. I would like to be able to do this for passkey plugin. ### What version of Better Auth are you using? 1.1.14 ### Provide environment information ```bash NA ``` ### Which area(s) are affected? (Select all that apply) Backend ### Additional context _No response_
GiteaMirror added the lockedbug labels 2026-04-13 03:49:23 -05:00
Author
Owner

@Bekacru commented on GitHub (Feb 3, 2025):

You can pass schema option to the passkey plugin as well

<!-- gh-comment-id:2630956461 --> @Bekacru commented on GitHub (Feb 3, 2025): You can pass `schema` option to the passkey plugin as well
Author
Owner

@hongkongkiwi commented on GitHub (Feb 14, 2025):

Thanks! I saw this by looking at the code, it wasn't apparent in the docs.

<!-- gh-comment-id:2659156512 --> @hongkongkiwi commented on GitHub (Feb 14, 2025): Thanks! I saw this by looking at the code, it wasn't apparent in the docs.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#8665