mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-15 17:53:08 +03:00
🐛 Bug Report: Docker new install /login/setup does not allow passkey setup. #231
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 @Yonder711 on GitHub.
Reproduction steps
When attempting the initial setup on a docker new install and going to the /login/setup it does not take me to the setting page to setup a passkey. It does not behave like the demo does. It only asks for the new passkey and appears stuck in a bit of a loop. It is the same as the comment on the end of Bug #360.
Expected behavior
It should take me to /settings page if it is to behave as the online demo does. Allow for Passkey setup and then allow login.
Actual Behavior
The initial start does not take me to setup and only to authenticate which i cannot do.
Version and Environment
Deb 12
Docker compose setup as per the recommended instructions.
The pull was from today and i would expect to be the latest of 53
Log Output
Web console shows:
CX8HSG55.js:1 startAuthentication() was not called correctly. It will try to continue with the provided options, but this call should be refactored to use the expected call structure instead. See https://simplewebauthn.dev/docs/packages/browser#typeerror-cannot-read-properties-of-undefined-reading-challenge for more information.
D @ CX8HSG55.js:1
B @ 8.CB_SYT5N.js:1
await in B
j @ Cz0SBzgo.js:1
click @ Cz0SBzgo.js:1
j @ Cz0SBzgo.js:1
(anonymous) @ Cz0SBzgo.js:1
(anonymous) @ C2Dn4pW3.js:1
Pe @ C2Dn4pW3.js:1
a @ C2Dn4pW3.js:1Understand this warning
BPfOPGdp.js:1 Error: WebAuthn is not supported in this browser
at D (CX8HSG55.js:1:1843)
at HTMLButtonElement.B (8.CB_SYT5N.js:1:3736)
@Yonder711 commented on GitHub:
Note the screen shots added in the opposite order. Please view from bottom to top.
@stonith404 commented on GitHub:
You have to add a reverse proxy in front to enable https. I'm converting this to a discussion as this is not a bug of Pocket ID.
@Yonder711 commented on GitHub:
I have attempted to try https again and it is not responding with or without the port 3000.
I was not using https as the documentation specifically stated only http at the end of the docker install section.
Also http was the only way a webui was seen.
@kmendell commented on GitHub:
You need to access pocket id over
httpsthis is a requirement of the webauthn api.