Last active
June 10, 2025 23:15
-
-
Save mrworf/27a8e688e9cb3b19b6db9a28f342ace0 to your computer and use it in GitHub Desktop.
Remove WebAuthn from Authentik since 1password isn't supported properly
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Run the following code via "ak shell" | |
# | |
import authentik.stages.authenticator_totp.models as totp_models | |
import authentik.stages.authenticator_webauthn.models as webauthn_models | |
from authentik.core.models import User | |
user = User.objects.get(username="akadmin") | |
totp_models.TOTPDevice.objects.filter(user=user).delete() | |
webauthn_models.WebAuthnDevice.objects.filter(user=user).delete() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment