Code Monkey home page Code Monkey logo

Comments (4)

FML128 avatar FML128 commented on May 20, 2024

Same issue here

from authentik.

freender avatar freender commented on May 20, 2024

Same issue:

"Traceback (most recent call last):\n File \"/authentik/flows/views/executor.py\", line 291, in get\n stage_response = self.current_stage_view.dispatch(request)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/ak-root/venv/lib/python3.12/site-packages/django/views/generic/base.py\", line 143, in dispatch\n return handler(request, *args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/authentik/stages/authenticator_validate/stage.py\", line 243, in get\n challenges = self.get_webauthn_challenge_without_user()\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/authentik/stages/authenticator_validate/stage.py\", line 216, in get_webauthn_challenge_without_user\n \"challenge\": get_webauthn_challenge_without_user(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/authentik/stages/authenticator_validate/challenge.py\", line 72, in get_webauthn_challenge_without_user\n return loads(options_to_json(authentication_options))\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/ak-root/venv/lib/python3.12/site-packages/webauthn/helpers/options_to_json.py\", line 118, in options_to_json\n auth_to_return[\"userVerification\"] = options.user_verification.value\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nbuiltins.AttributeError: 'str' object has no attribute 'value'"}

from authentik.

DavidFuchs avatar DavidFuchs commented on May 20, 2024

Exact same issue here. I just installed Authentik last night, mind you, so not a lot of experience here.

If I enter my username and password first, it then prompts me for my webauthn credential and everything works fine. But if I go straight to the passwordless flow, I get the Something went wrong! Please try again later. error.

I followed the instructions here: https://www.youtube.com/watch?v=aEpT2fYGwLw

2024-02-22T03:29:57.442712611Z INF | auth_via=unauthenticated domain_url=[redacted] event=/if/flow/df-passwordless-flow/?next=%2F host=[redacted] logger=authentik.asgi method=GET pid=19182 remote=10.0.0.1 request_id=0bc243ce92544150bbd4874262784c36 runtime=7 schema_name=public scheme=https status=200 timestamp=2024-02-22T03:29:57.442573 user= user_agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 Edg/121.0.0.0 
2024-02-22T03:29:57.499477886Z INF | domain_url=null event=/ws/client/ logger=authentik.asgi pid=19182 remote=10.0.0.1 schema_name=public scheme=ws timestamp=2024-02-22T03:29:57.499351 user_agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 Edg/121.0.0.0 
2024-02-22T03:29:57.513246454Z warning | auth_via=unauthenticated domain_url=[redacted] event=AttributeError("'str' object has no attribute 'value'") flow_slug=df-passwordless-flow host=[redacted] logger=authentik.flows.views.executor pid=19182 request_id=6ddf304b28ae4ee39922f0697832f63d schema_name=public timestamp=2024-02-22T03:29:57.513117 
2024-02-22T03:29:57.515484049Z INF | action=system_exception auth_via=unauthenticated client_ip=10.0.0.1 context={"http_request":{"args":{"next":"/"},"method":"GET","path":"/api/v3/flows/executor/df-passwordless-flow/","user_agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 Edg/121.0.0.0"},"message":"Traceback (most recent call last):\n  File \"/authentik/flows/views/executor.py\", line 291, in get\n    stage_response = self.current_stage_view.dispatch(request)\n                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/ak-root/venv/lib/python3.12/site-packages/django/views/generic/base.py\", line 143, in dispatch\n    return handler(request, *args, **kwargs)\n           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/authentik/stages/authenticator_validate/stage.py\", line 243, in get\n    challenges = self.get_webauthn_challenge_without_user()\n                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/authentik/stages/authenticator_validate/stage.py\", line 216, in get_webauthn_challenge_without_user\n    \"challenge\": get_webauthn_challenge_without_user(\n                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/authentik/stages/authenticator_validate/challenge.py\", line 72, in get_webauthn_challenge_without_user\n    return loads(options_to_json(authentication_options))\n                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/ak-root/venv/lib/python3.12/site-packages/webauthn/helpers/options_to_json.py\", line 118, in options_to_json\n    auth_to_return[\"userVerification\"] = options.user_verification.value\n                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nbuiltins.AttributeError: 'str' object has no attribute 'value'"} domain_url=[redacted] event=Created Event host=[redacted] logger=authentik.events.models pid=19182 request_id=6ddf304b28ae4ee39922f0697832f63d schema_name=public timestamp=2024-02-22T03:29:57.515383 user={"email":"","is_anonymous":true,"pk":1,"username":"AnonymousUser"} 

from authentik.

BeryJu avatar BeryJu commented on May 20, 2024

duplicate of #8618, will be fixed by 2024.2.1

from authentik.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.