Unable to add passkeys on selfhosted instance

(#584) Bug Fixed security self-hosting

Thread

Comment by @BladeWDR
RexSystem 1 vote originally by @BladeWDR on GitHub
For anyone who wants the fix for this, you need to add this env variable in docker-compose.yaml: FLUXER_PASSKEY_RP_NAME: ${FLUXER_PASSKEY_RP_NAME:-Fluxer} FLUXER_PASSKEY_RP_ID: ${FLUXER_PASSKEY_RP_ID:-fluxer.app} Note (the Fluxer and fluxer.app values are just default values, you can set them to anything you want.) Then, in .env, you can set FLUXER_PASSKEY_RP_NAME to whatever name you want and FLUXER_PASSKEY_RP_ID to your instance domain.
Tried doing this it's still erroring out. "Failed to verify WebAuthn credential." EDIT: I figured this out - I had to add my domain to this environment variable: FLUXER_PASSKEY_ADDITIONAL_ALLOWED_ORIGINS. Man this project could use some better docs around configuration.