🐛 Bug Report: "Something went wrong" if i want to Setup my Passkey on inital Setup #83

Closed
opened 2025-10-07 00:01:04 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @d3cor on GitHub.

Reproduction steps

I try to save my Passkey in the initial setup of pocket-id.

Expected behavior

It should save the pocket-id passkey to my Yubikey, Bitwarden, 1Password, whatever.

Actual Behavior

Hello,

I’m currently trying to complete the initial setup of pocket.id and I have the problem that whenever I try to save my passkey, I always get the message “something went wrong.” I have tried using my Yubikey, Bitwarden, 1Password, and Apple Keychain and get always the same result. When I check my Yubikey or Bitwarden afterwards, the passkey is actually there, but Pocket-ID doesn’t register it.

I installed Pocket-ID via Docker. Here’s the error message from the Docker log.

pocket-id | time=2025-08-15T09:25:44.115Z level=INFO msg="Error #01: failed to finish WebAuthn registration: Error validating origin" app=pocket-id version=1.7.0 request.time=2025-08-15T09:25:44.114Z request.method=POST request.host=pocket-id.darkn3t.de request.path=/api/webauthn/register/finish request.query="" request.params=map[] request.route=/api/webauthn/register/finish request.ip=192.168.188.11 request.referer=https://pocket-id.darkn3t.de/settings/account request.length=1108 response.time=2025-08-15T09:25:44.115Z response.latency=809.29µs response.status=500 response.length=32

As the Docker image, I tried ghcr.io/pocket-id/pocket-id:next and ghcr.io/pocket-id/pocket-id. But that didn’t change anything. In between, I always deleted the entire ./data directory.

To verify that my YubiKey works, I set up my passkey in Authentik (also WebAuthn), and it works there immediately.

Version and Environment

Docker with a Docker Compose File.

services:
pocket-id:
container_name: pocket-id
image: ghcr.io/pocket-id/pocket-id
restart: unless-stopped
env_file: .env
volumes:
- ./data:/app/data
networks:
- reverse-proxy
labels:
caddy: pocket-id.domain.tld
caddy.reverse_proxy: "{{upstreams 1411}}"
networks:
reverse-proxy:
external: true

Log Output

No response

Originally created by @d3cor on GitHub. ### Reproduction steps I try to save my Passkey in the initial setup of pocket-id. ### Expected behavior It should save the pocket-id passkey to my Yubikey, Bitwarden, 1Password, whatever. ### Actual Behavior Hello, I’m currently trying to complete the initial setup of pocket.id and I have the problem that whenever I try to save my passkey, I always get the message “something went wrong.” I have tried using my Yubikey, Bitwarden, 1Password, and Apple Keychain and get always the same result. When I check my Yubikey or Bitwarden afterwards, the passkey is actually there, but Pocket-ID doesn’t register it. I installed Pocket-ID via Docker. Here’s the error message from the Docker log. pocket-id | time=2025-08-15T09:25:44.115Z level=INFO msg="Error #01: failed to finish WebAuthn registration: Error validating origin" app=pocket-id version=1.7.0 request.time=2025-08-15T09:25:44.114Z request.method=POST request.host=pocket-id.darkn3t.de request.path=/api/webauthn/register/finish request.query="" request.params=map[] request.route=/api/webauthn/register/finish request.ip=192.168.188.11 request.referer=https://pocket-id.darkn3t.de/settings/account request.length=1108 response.time=2025-08-15T09:25:44.115Z response.latency=809.29µs response.status=500 response.length=32 As the Docker image, I tried ghcr.io/pocket-id/pocket-id:next and ghcr.io/pocket-id/pocket-id. But that didn’t change anything. In between, I always deleted the entire ./data directory. To verify that my YubiKey works, I set up my passkey in Authentik (also WebAuthn), and it works there immediately. ### Version and Environment Docker with a Docker Compose File. services: pocket-id: container_name: pocket-id image: ghcr.io/pocket-id/pocket-id restart: unless-stopped env_file: .env volumes: - ./data:/app/data networks: - reverse-proxy labels: caddy: pocket-id.domain.tld caddy.reverse_proxy: "{{upstreams 1411}}" networks: reverse-proxy: external: true ### Log Output _No response_
Author
Owner

@d3cor commented on GitHub:

Ahhhh shit. I was using http:// instead of https://. It is working now. Sorry

@d3cor commented on GitHub: Ahhhh shit. I was using http:// instead of https://. It is working now. Sorry
Author
Owner

@kmendell commented on GitHub:

what is your APP_ENV set to?

@kmendell commented on GitHub: what is your APP_ENV set to?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/pocket-id#83