🐛 Bug Report: Can no longer login with my existing user on latest main #153

Closed
opened 2025-07-08 08:41:10 -04:00 by AtHeartEngineer · 0 comments

Originally created by @antifuchs on 5/21/2025

Reproduction steps

  1. Attempt to authenticate with my registered passkey
  2. observe an authentication failure, backend logs say Error #01: Failed to lookup Client-side Discoverable Credential: record not found
  3. Attempt to create a login code with pocket-id-create-one-time-access-token.sh db-file.db asf and use that emitted URL within 1 minute,
  4. observe an authentication failure, backend logs say Error #01: token is invalid or expired

Expected behavior

I would expect the user that has existed & able to login for nearly 6 months to continue to be able to log in.

Actual Behavior

pocket-id is unable to authenticate me, using credentials that pocket-id is generating in its own database.

Version and Environment

Using rev d6104bbb35 triggers this issue.

Downgrading to release v0.53.0, the issue doesn't trigger. Could this be related to the sqlite driver refactor?

Log Output

No response

*Originally created by @antifuchs on 5/21/2025* ### Reproduction steps 1. Attempt to authenticate with my registered passkey 2. observe an authentication failure, backend logs say `Error #01: Failed to lookup Client-side Discoverable Credential: record not found` 3. Attempt to create a login code with `pocket-id-create-one-time-access-token.sh db-file.db asf` and use that emitted URL within 1 minute, 4. observe an authentication failure, backend logs say `Error #01: token is invalid or expired` ### Expected behavior I would expect the user that has existed & able to login for nearly 6 months to continue to be able to log in. ### Actual Behavior pocket-id is unable to authenticate me, using credentials that pocket-id is generating in its own database. ### Version and Environment Using rev d6104bbb351672e2b3d6aa2c09083359d0428d94 triggers this issue. Downgrading to release [v0.53.0](https://github.com/pocket-id/pocket-id/releases/tag/v0.53.0), the issue doesn't trigger. Could this be related to the sqlite driver refactor? ### Log Output _No response_
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/pocket-id#153