You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
My passwordless login flow stopped working when I upgraded to 2024.2.0 from 2023.10
To Reproduce
Steps to reproduce the behavior:
Try to login with passwordless login flow
Expected behavior
Be asked to authenticate passkey and be redirected to Authentik.
Screenshots
Logs
Stacktrace from authentik
Traceback (most recent call last):
File "/authentik/flows/views/executor.py", line 291, in get
stage_response = self.current_stage_view.dispatch(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/ak-root/venv/lib/python3.12/site-packages/django/views/generic/base.py", line 143, in dispatch
return handler(request, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/authentik/stages/authenticator_validate/stage.py", line 243, in get
challenges = self.get_webauthn_challenge_without_user()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/authentik/stages/authenticator_validate/stage.py", line 216, in get_webauthn_challenge_without_user
"challenge": get_webauthn_challenge_without_user(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/authentik/stages/authenticator_validate/challenge.py", line 72, in get_webauthn_challenge_without_user
return loads(options_to_json(authentication_options))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/ak-root/venv/lib/python3.12/site-packages/webauthn/helpers/options_to_json.py", line 118, in options_to_json
auth_to_return["userVerification"] = options.user_verification.value
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
builtins.AttributeError: 'str' object has no attribute 'value'
Version and Deployment (please complete the following information):
Describe the bug
My passwordless login flow stopped working when I upgraded to 2024.2.0 from 2023.10
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Be asked to authenticate passkey and be redirected to Authentik.
Screenshots
Logs
Stacktrace from authentik
Version and Deployment (please complete the following information):
Additional context
Passwordless login flow config:
The text was updated successfully, but these errors were encountered: