mirror of
https://github.com/pocket-id/pocket-id.git
synced 2026-02-05 00:39:38 +03:00
🐛 Bug Report: Passkey Setup Not working #588
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @epsilon2319 on GitHub (Jan 4, 2026).
Reproduction steps
When I try and set up an account through mydomain.tld/setup I get the normal landing page where it wants me to create a a user.I did so,but no passkey set up prompt followed.I can't authenticate myself even though I have an admin account.I am on a Synology NAS and this is my docker compose.
services:
pocket-id:
image: ghcr.io/pocket-id/pocket-id:v2
container_name: pocket-id
restart: unless-stopped
Expected behavior
Passkey set up prompt.
Actual Behavior
No passkey setup page/prompt.
Pocket ID Version
v2.02
Database
SQLite
OS and Environment
Docker on Synology NAS through portainer
Log Output
Jan 4 02:41:48 INF Pocket ID is starting app=pocket-id version=2.0.2
Jan 4 02:41:48 INF Connected to database app=pocket-id version=2.0.2 provider=sqlite
Jan 4 02:41:48 WRN MAXMIND_LICENSE_KEY environment variable is empty: the GeoLite2 City database won't be updated app=pocket-id version=2.0.2
Jan 4 02:41:48 INF Acquired application lock app=pocket-id version=2.0.2 process_id=1 host_id=8c825b758bab
Jan 4 02:41:48 INF Starting job scheduler app=pocket-id version=2.0.2
Jan 4 02:41:48 INF Server listening app=pocket-id version=2.0.2 addr=0.0.0.0:3000
Jan 4 02:41:48 INF Starting job app=pocket-id version=2.0.2 name=ClearWebauthnSessions id=c78ecafc-c352-4670-8d79-ecdd86663308
Jan 4 02:41:48 INF Starting job app=pocket-id version=2.0.2 name=ClearOidcRefreshTokens id=12813b7e-a576-4fe3-8d9f-c95f91aadebd
Jan 4 02:41:48 INF Starting job app=pocket-id version=2.0.2 name=ClearReauthenticationTokens id=394fd3e3-51be-45a7-a56e-5e7ae52b3f39
Jan 4 02:41:48 INF Starting job app=pocket-id version=2.0.2 name=ClearSignupTokens id=7f5baeda-06c7-461d-a02f-276e6f0bf01e
Jan 4 02:41:48 INF Starting job app=pocket-id version=2.0.2 name=SendHeartbeat id=e09e2e3a-1697-4df5-905d-29223e143d5f
Jan 4 02:41:48 INF Starting job app=pocket-id version=2.0.2 name=ClearOneTimeAccessTokens id=c2b376e5-7152-4b0a-9b87-df32eb36a741
Jan 4 02:41:48 INF Starting job app=pocket-id version=2.0.2 name=SyncLdap id=09766a77-a835-4b4f-a315-9110ae21769e
Jan 4 02:41:48 INF Job run successfully app=pocket-id version=2.0.2 name=SyncLdap id=09766a77-a835-4b4f-a315-9110ae21769e
Jan 4 02:41:48 INF Starting job app=pocket-id version=2.0.2 name=ClearAuditLogs id=fdcfacd2-accf-439c-8c0f-da6b5d331d2d
Jan 4 02:41:48 INF Starting job app=pocket-id version=2.0.2 name=ClearOidcAuthorizationCodes id=bd899701-bb85-4de8-bc96-30f6ae080441
Jan 4 02:41:48 INF Starting job app=pocket-id version=2.0.2 name=ClearOrphanedTempFiles id=bf3b4ecf-1ec3-475f-b1c9-5ffb48d73c3b
Jan 4 02:41:48 INF Done cleaning orphaned temp files app=pocket-id version=2.0.2 count=0
Jan 4 02:41:48 INF Job run successfully app=pocket-id version=2.0.2 name=ClearOrphanedTempFiles id=bf3b4ecf-1ec3-475f-b1c9-5ffb48d73c3b
Jan 4 02:41:48 INF Cleaned expired WebAuthn sessions app=pocket-id version=2.0.2 count=2
Jan 4 02:41:48 INF Job run successfully app=pocket-id version=2.0.2 name=ClearWebauthnSessions id=c78ecafc-c352-4670-8d79-ecdd86663308
Jan 4 02:41:48 INF Cleaned expired tokens app=pocket-id version=2.0.2 count=0
Jan 4 02:41:48 INF Job run successfully app=pocket-id version=2.0.2 name=ClearSignupTokens id=7f5baeda-06c7-461d-a02f-276e6f0bf01e
Jan 4 02:41:48 INF Cleaned expired one-time access tokens app=pocket-id version=2.0.2 count=0
Jan 4 02:41:48 INF Job run successfully app=pocket-id version=2.0.2 name=ClearOneTimeAccessTokens id=c2b376e5-7152-4b0a-9b87-df32eb36a741
Jan 4 02:41:48 INF Cleaned expired OIDC authorization codes app=pocket-id version=2.0.2 count=0
Jan 4 02:41:48 INF Job run successfully app=pocket-id version=2.0.2 name=ClearOidcAuthorizationCodes id=bd899701-bb85-4de8-bc96-30f6ae080441
Jan 4 02:41:48 INF Cleaned expired reauthentication tokens app=pocket-id version=2.0.2 count=0
Jan 4 02:41:48 INF Job run successfully app=pocket-id version=2.0.2 name=ClearReauthenticationTokens id=394fd3e3-51be-45a7-a56e-5e7ae52b3f39
Jan 4 02:41:48 INF Deleted old audit logs app=pocket-id version=2.0.2 count=0
Jan 4 02:41:48 INF Job run successfully app=pocket-id version=2.0.2 name=ClearAuditLogs id=fdcfacd2-accf-439c-8c0f-da6b5d331d2d
Jan 4 02:41:48 INF Cleaned expired OIDC refresh tokens app=pocket-id version=2.0.2 count=0
Jan 4 02:41:48 INF Job run successfully app=pocket-id version=2.0.2 name=ClearOidcRefreshTokens id=12813b7e-a576-4fe3-8d9f-c95f91aadebd
Jan 4 02:41:50 ERR Job failed with error app=pocket-id version=2.0.2 name=SendHeartbeat id=e09e2e3a-1697-4df5-905d-29223e143d5f error="heartbeat request failed: failed to send request: Post "https://analytics.pocket-id.org/heartbeat": dial tcp 0.0.0.0:443: connect: connection refused"
Jan 4 02:43:37 INF Request app=pocket-id version=2.0.2 status=200 method=GET path=/login query="" route="" ip=87.249.134.30 latency=99.824µs referer="" user_agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36" body_size=2024
Jan 4 02:43:38 WRN Request with errors: Error #01: You are not signed in
app=pocket-id version=2.0.2 status=401 method=GET path=/api/users/me query="" route=/api/users/me ip=87.249.134.30 latency=189.989µs referer=https://mydomain.tld/login user_agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36" body_size=33
Jan 4 02:43:38 INF Request app=pocket-id version=2.0.2 status=200 method=GET path=/api/application-configuration query="" route=/api/application-configuration ip=87.249.134.30 latency=323.764µs referer=https://mydomain.tld/login user_agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36" body_size=572
@stonith404 commented on GitHub (Jan 4, 2026):
Can you share the browser logs from the developer tools when you try to sign in?
@epsilon2319 commented on GitHub (Jan 5, 2026):
Ok ,so apparently I can't trust old posts from random websites and their docker compose to work with your new version.Especially a new v2.0.The problem was that I was missing APP_URL from my env variables.The error in my browser console was "tXc6KnY3.js:1 SecurityError: The RP ID "localhost" is invalid for this domain".The addition of mydomain.tld to APP_URL fixed it.Thank you for pointing me in the right direction.If I hadn't looked in the console output I wouldn't have even realized what the problem might be.Thing is that the environment variables change so much from version to version that they become out of date.