mirror of
https://github.com/fosrl/pangolin.git
synced 2026-07-16 14:30:51 -05:00
[GH-ISSUE #1099] Is there any way to reset passkey ? #35184
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 @R-Nabil on GitHub (Jul 20, 2025).
Original GitHub issue: https://github.com/fosrl/pangolin/issues/1099
Hi,
I've setup passkey for my user once I installed 1.7.1, and saved it in my password manager.
However, I am unable to use it, and now unable to login as that user.
Is there any way to recreate the login/password and passkey of the Super Admin user ?
Thanks,
@adrianeastles commented on GitHub (Jul 20, 2025):
Do you see any errors when trying to sign in with the passkey?
@R-Nabil commented on GitHub (Jul 20, 2025):
"There was a problem using your security key. Please try again.", on the web interface.
In the logs, I don't see anything special no
@adrianeastles commented on GitHub (Jul 20, 2025):
@R-Nabil commented on GitHub (Jul 20, 2025):
The browsers I have are Firefox and Safari.
In case it is relevant, I did have 2FA enabled before (authenticator code). I tried a password reset, and it asked me for the 2FA, and worked fine to reset the password. However, no code is asked with Passwordless login, or using the security key as my 2nd factor
@adrianeastles commented on GitHub (Jul 20, 2025):
Apologies for not responding sooner. If you are using SQLite, this guide will help you reset it. Please backup your config before following this guide.
Step 1: Access the Docker Container
First, you need to connect to your running Pangolin Docker container.
Step 2: Install SQLite Tools
You'll need to install the
sqlite3command-line tool within the container to interact with it.Step 3: Find Your User ID
To remove only your passkeys, you need to identify your unique user ID within the database.
Step 4: View Current Security Keys (Optional)
You can optionally view the existing passkeys associated with users before making any changes. This step is for informational purposes.
Step 5: Remove Your Passkeys
This is the core step where you delete the passkey entries associated with your user ID.
Step 6: Verify Removal
After executing the DELETE commands, it's good practice to verify that the passkeys for your user have indeed been removed.
Step 7: Restart the Container
For the changes to take effect within the Pangolin application, you need to restart the Docker container.
Step 8: Test Login
After the container restarts, attempt to log in to your Pangolin instance.
Troubleshooting
If
sqlite3command not found:If database path is different:
@R-Nabil commented on GitHub (Jul 20, 2025):
Hello,
It worked ! I'm guessing it will eventually move into a pangctl available command ?
Just FYI. Instantly after I created a new passkey. Same issue again.
Is there an issue with the domain name somehow ? It prompts me for a passkey for domain.com instead of the subdomain I use which is pangolin.domain.com
@adrianeastles commented on GitHub (Jul 20, 2025):
Glad to hear it's working! I suggest registering two separate security keys just in case.
Regarding your passkey issue. it seems 1Password might be the cause, prompting for domain.com instead of pangolin.domain.com. I use Vaultwarden and haven't encountered this; my devices correctly prompt for pangolin.domain.com.
Please try updating your container to version 1.7.3 to see if the issue persists, though it's likely a password manager-related problem.
I haven't used 1password, but you should be able to add more domains to the saved passkey.
Looks like there is a few other issues with 1password and passkeys. https://www.1password.community/discussions/developers/webauthn-integration-not-working-url-mismatch/159033
@R-Nabil commented on GitHub (Jul 20, 2025):
I am already on 1.7.3.
Actually, I am using 1Password with everything, including several selfhosted software and this is the first time i'm having issues.
Do not ask me why, but I did it yet again and... now it works ? Very puzzling.
Anyway, really appreciate the time you took to help ! Thank you for your help
@oschwartz10612 commented on GitHub (Jul 22, 2025):
Thanks @adrianeastles for the write up!
I do think we should put this into the UI or pangctl initially which would be pretty easy so others dont get stuck!