mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-11 07:42:58 +03:00
🐛 Bug Report: Issue adding Passkey (An unknown error occurred!) ANDROID #388
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 @ivoarch on GitHub.
Reproduction steps
Hi I have a issue when I try to setup my accout and add a passkey.
Reproduction steps
Go to
https://id.my.domain.com/login/setupadd passkey andI receive this message "An unknown error occurred!".
I use Pixel 6 Pro (Android latest), my password manager is Bitwarden .
My
.envMy
docker-compose.yamlMy
CaddyfileI find this issue #126 but checking I have my
.envsetup correctly and url address also protocol http/https match good .Docker container only report this
Any idea?
Thanks!
Expected behavior
Add passkey success!
Actual Behavior
An unknown error occurred!
@stonith404 commented on GitHub:
Does it work on another device?
@stonith404 commented on GitHub:
Yeah please try it on a desktop and share the logs of the browser console.
@ivoarch commented on GitHub:
Ok when I can gona try .
Until then I test so:
I go to https://passkey.org/ -> create user -> add passkey -> test passkey . Everything is setup correctly . My device and bitwarden works .
@ivoarch commented on GitHub:
I don't have other device now for try, but I test with defferent browsers and same issue .
edit: The passkey is saved correctly on my password manager but Pocket-id report a issue .
@myhrmans commented on GitHub:
Try adding port to your .env
@pluja commented on GitHub:
I am experimenting the same error when using Bitwarden extension, in my case I'm on Firefox on a desktop (I also tested with Brave Browser and got the same error).
The error I'm seeing in the dev console is:
Error: Invalid 'sameOriginWithAncestors' valueHere's a related issue that is already being discussed in the Bitwarden repo: https://github.com/bitwarden/clients/issues/12590
@stonith404 commented on GitHub:
Like a said, can you share the logs from the browser developer tools?
@stonith404 commented on GitHub:
@pluja Only the demo uses an iframe so the actual installation should work.
@ivoarch commented on GitHub:
Same issue!
I also try disabling the Trust Proxy, also removing protocols from the public app url and same .
@ivoarch commented on GitHub:
Today I test to setup Webauth and passkey with Authentik and issue again.
I don't find where is the problem, months or two ago I used authentik with passkey added from the same device .
The strange thing is that the passkey failed only with my docker containers apps. 🙁
Then I guess it won't be a Pocket ID issue .
Any help?
@pluja commented on GitHub:
@stonith404 awesome, will try it out then
@LunkSnee commented on GitHub:
I've installed on my server, and had the same issue. In the docker/caddy log it shows:
pocket-id | [GIN] 2025/01/23 - 15:37:06 | 500 | 1.900443ms | 10.1.5.117 | POST "/api/webauthn/register/finish"
pocket-id | Error #01: Error validating origin
pocket-id | [GIN] 2025/01/23 - 15:37:06 | 500 | 1.963994ms | 10.1.5.117 | POST "/api/webauthn/register/finish"
pocket-id | Error #01: Error validating origin
I had the wrong: PUBLIC_APP_URL=http://
After changing PUBLIC_APP_URL to start is https:// it worked!