We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug Passwordless authentication prompts twice in Safari on MacOS
To Reproduce
Expected behavior The user is prompted for the passkey / webauthn once and either fails or passes.
Screenshots N/A
Logs Logs do not show the failed attempt, however HTTP inspection shows two API calls to api/v3/flows/executor/passwordless-authentication/:
api/v3/flows/executor/passwordless-authentication/
{ "flow_info": { "title": "Authentication", "background": "/media/public/transparent", "cancel_url": "/flows/-/cancel/", "layout": "stacked" }, "component": "ak-stage-authenticator-validate", "response_errors": { "non_field_errors": [ { "string": "Empty response", "code": "invalid" } ] }, "pending_user": "", "pending_user_avatar": "/static/dist/assets/images/user_default.png", "device_challenges": [ { "device_class": "webauthn", "device_uid": "-1", "challenge": { "challenge": "xxx", "timeout": 60000, "rpId": "xxx", "allowCredentials": [], "userVerification": "preferred" }, "last_used": null } ], "configuration_stages": [] }
With the second (as I kill by cancelling the system passkey popup):
{ "flow_info": { "title": "Authentication", "background": "/media/public/transparent", "cancel_url": "/flows/-/cancel/", "layout": "stacked" }, "component": "ak-stage-authenticator-validate", "response_errors": { "webauthn": [ { "string": "Invalid device", "code": "invalid" } ] }, "pending_user": "", "pending_user_avatar": "/static/dist/assets/images/user_default.png", "device_challenges": [ { "device_class": "webauthn", "device_uid": "-1", "challenge": { "challenge": "xxx", "timeout": 60000, "rpId": "xxx", "allowCredentials": [], "userVerification": "preferred" }, "last_used": null } ], "configuration_stages": [] }
I note that in the first HTTP POST, the payload is:
HTTP POST
{"component":"ak-stage-authenticator-validate","selected_challenge":{"device_class":"webauthn","device_uid":"-1","challenge":{"challenge":"xxx","timeout":60000,"rpId":"xxx","allowCredentials":[],"userVerification":"preferred"},"last_used":null}}
and in the second:
{"component":"ak-stage-authenticator-validate","webauthn":{"id":"xxx","rawId":"xxx","type":"public-key","assertionClientExtensions":"{}","response":{"clientDataJSON":"xxx","signature":"xxx,"authenticatorData":"xxx","userHandle":null}}}
Version and Deployment (please complete the following information):
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
Passwordless authentication prompts twice in Safari on MacOS
To Reproduce
Expected behavior
The user is prompted for the passkey / webauthn once and either fails or passes.
Screenshots
N/A
Logs
Logs do not show the failed attempt, however HTTP inspection shows two API calls to
api/v3/flows/executor/passwordless-authentication/
:With the second (as I kill by cancelling the system passkey popup):
I note that in the first
HTTP POST
, the payload is:and in the second:
Version and Deployment (please complete the following information):
The text was updated successfully, but these errors were encountered: