Skip to content

stages/authenticator_webauthn: Add WebAuthn client hints support - #20700

Merged
melizeche merged 14 commits into
mainfrom
webauthn_hints
Mar 13, 2026
Merged

melizeche merged 14 commits into
mainfrom
webauthn_hints

Conversation

@melizeche

@melizeche melizeche commented Mar 4, 2026 •

Copy link
Copy Markdown
Member

Details

Adds WebAuthn client hints support (W3C WebAuthn Level 3) to both registration and authentication stages.
Admins can configure hints (security-key, client-device, hybrid) to guide browsers in prioritizing the preferred authenticator type in their UI.
For backward compatibility with older browsers that don't understand hints, authenticatorAttachment is auto-inferred from the selected hints when not explicitly set.

image image

closes #6473


Checklist

  • Local tests pass (ak test authentik/)
  • The code has been formatted (make lint-fix)

If an API change has been made

  • The API schema has been updated (make gen-build)

If changes to the frontend have been made

  • The code has been formatted (make web)

If applicable

  • The documentation has been updated
  • The documentation has been formatted (make docs)

@melizeche
melizeche requested review from a team as code owners March 4, 2026 03:41
@netlify

netlify Bot commented Mar 4, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for authentik-storybook ready!

Name Link
🔨 Latest commit 287707a
🔍 Latest deploy log https://app.netlify.com/projects/authentik-storybook/deploys/69b471bbe137b7000848f209
😎 Deploy Preview https://deploy-preview-20700--authentik-storybook.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@melizeche melizeche changed the title stages/authenticator_webauthn: Add Webauthn client hints support stages/authenticator_webauthn: Add WebAuthn client hints support Mar 4, 2026
@netlify

netlify Bot commented Mar 4, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit 7474dd4
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/69b4704c56fa7d00081511b2
😎 Deploy Preview https://deploy-preview-20700--authentik-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@codecov

codecov Bot commented Mar 4, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.48%. Comparing base (0ff3869) to head (287707a).
⚠️ Report is 1 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #20700      +/-   ##
==========================================
+ Coverage   93.45%   93.48%   +0.02%     
==========================================
  Files         991      991              
  Lines       55948    56090     +142     
==========================================
+ Hits        52285    52434     +149     
+ Misses       3663     3656       -7     
Flag Coverage Δ
conformance 37.43% <6.16%> (-0.09%) ⬇️
e2e 42.95% <11.64%> (-0.08%) ⬇️
integration 22.22% <5.47%> (-0.05%) ⬇️
unit 91.64% <100.00%> (+0.02%) ⬆️
unit-migrate 91.73% <100.00%> (+0.02%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@github-actions

github-actions Bot commented Mar 4, 2026 •

Copy link
Copy Markdown
Contributor

authentik PR Installation instructions

Instructions for docker-compose

Add the following block to your .env file:

AUTHENTIK_IMAGE=ghcr.io/goauthentik/dev-server
AUTHENTIK_TAG=gh-287707ae61b65786f617a2e54690049b4e198852
AUTHENTIK_OUTPOSTS__CONTAINER_IMAGE_BASE=ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s

Afterwards, run the upgrade commands from the latest release notes.

Instructions for Kubernetes

Add the following block to your values.yml file:

authentik:
    outposts:
        container_image_base: ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s
global:
    image:
        repository: ghcr.io/goauthentik/dev-server
        tag: gh-287707ae61b65786f617a2e54690049b4e198852

Afterwards, run the upgrade commands from the latest release notes.

@melizeche melizeche self-assigned this Mar 4, 2026
@melizeche melizeche added enhancement New feature or request area:frontend Features or issues related to the browser, TypeScript, Node.js, etc area:backend labels Mar 4, 2026
@melizeche melizeche added this to the Release 2026.5.0: Required milestone Mar 4, 2026

@BeryJu BeryJu left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM for the backend, frontend imo should dualselect and if possible dual select without search (only 3 items, search doesn't make sense)

@github-project-automation github-project-automation Bot moved this from Todo to In Progress in authentik Core Mar 4, 2026
@melizeche

Copy link
Copy Markdown
Member Author

@BeryJu necessary changes in <ak-dual-select> for this to work -> #20749

@melizeche
melizeche merged commit e9b33be into main Mar 13, 2026
143 of 145 checks passed
@melizeche
melizeche deleted the webauthn_hints branch March 13, 2026 23:36
@github-project-automation github-project-automation Bot moved this from In Progress to Done in authentik Core Mar 13, 2026
kensternberg-authentik added a commit that referenced this pull request Mar 16, 2026
* main: (178 commits)
  lifecycle/aws: bump aws-cdk from 2.1110.0 to 2.1111.0 in /lifecycle/aws (#20847)
  web: bump the bundler group across 1 directory with 7 updates (#20876)
  web: bump @types/node from 25.4.0 to 25.5.0 in /web (#20878)
  web: bump flatted from 3.3.3 to 3.4.1 (#20891)
  web: bump flatted from 3.3.3 to 3.4.1 in /web (#20923)
  core: expiring model: ignore DoesNotExist error (#20922)
  core: bump astral-sh/uv from 0.10.9 to 0.10.10 in /lifecycle/container (#20913)
  core, web: update translations (#20899)
  core: bump goauthentik.io/api/v3 to 3.2026.5.0-rc1-1773518508 (#20897)
  stages/authenticator_webauthn: Update FIDO MDS3 & Passkey aaguid blobs (#20905)
  ci: bump softprops/action-gh-release from 2.5.0 to 2.6.1 (#20912)
  ci: bump actions/create-github-app-token from 2.2.1 to 3.0.0 (#20914)
  core: bump goauthentik/fips-python from `1ef7bd9` to `9d550e1` in /lifecycle/container (#20915)
  endpoints: fix tasks failing (#20904)
  providers/scim: use modified GroupMember class to support extra attributes on it (#20827)
  events: add option to configure webhook CA (#20823)
  stages/authenticator_webauthn: Add WebAuthn client hints support (#20700)
  web/elements: Add preserve-order, no-search and no-status attributes to ak-dual-select (#20749)
  docs: Add note on skipping object syncing (#20882)
  core: bump orjson from 3.11.5 to 3.11.6 (#20870)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:backend area:frontend Features or issues related to the browser, TypeScript, Node.js, etc enhancement New feature or request

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

Avoid Windows Hello/Security dialog when only using Android phone as Platform Authenticator

2 participants