镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Psso auth methods - #1365

Open
PeshekDotDev wants to merge 14 commits into
mainfrom
psso-auth-methods
Open

PeshekDotDev wants to merge 14 commits into
mainfrom
psso-auth-methods

Conversation

@PeshekDotDev

@PeshekDotDev PeshekDotDev commented Aug 12, 2026 •

Copy link
Copy Markdown
Contributor

testing

needs goauthentik/authentik#26532 to be merged

PeshekDotDev and others added 13 commits August 11, 2026 03:41
Add a require_biometrics field to RegisterDeviceResponse and have the
PSSO bridge set userSecureEnclaveKeyBiometricPolicy to
.touchIDOrWatchCurrentSet when the connector requests it.
… key

Platform SSO picks the grant from the profile's AuthenticationMethod, so a
Password profile needs the password grant advertised or macOS never attempts a
login. Advertise both.

Registration runs in both modes -- it is what binds the local account to an
authentik user -- but only the userSecureEnclaveKey method has a key to
register. Thread the method through to RegisterUser and make the key optional
instead of force-unwrapping a nil the password mode always produces.
…mented

The set is still hardcoded pending a client-rust regeneration, so it is the
knob a test run is configured with. Spell out all four members of Apple's
OptionSet with the unused ones commented out, so switching configurations does
not mean looking the variants up again, and note which combinations conflict.
@codecov

codecov Bot commented Aug 12, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 16.15385% with 109 lines in your changes missing coverage. Please review.
✅ Project coverage is 42.60%. Comparing base (bb7fd33) to head (6db2e91).
⚠️ Report is 7 commits behind head on main.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
ee/psso/Bridge/SysdBridge.swift 0.00% 42 Missing ⚠️
ee/psso/PSSO/API.swift 0.00% 21 Missing ⚠️
ak-sysd/src/cfg/domain.rs 46.66% 16 Missing ⚠️
ak-sysd/src/cfg/managed.rs 33.33% 13 Missing and 1 partial ⚠️
ee/psso/PSSO/PlatformSSO.swift 0.00% 7 Missing ⚠️
ak-sysd/src/components/auth/apple.rs 0.00% 6 Missing ⚠️
ee/psso/PSSO/InteractiveAuth.swift 0.00% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1365      +/-   ##
==========================================
- Coverage   42.84%   42.60%   -0.25%     
==========================================
  Files         161      161              
  Lines       14706    14811     +105     
  Branches     9721     9760      +39     
==========================================
+ Hits         6301     6310       +9     
- Misses       8270     8367      +97     
+ Partials      135      134       -1     
Flag Coverage Δ
rs-e2e 36.25% <38.88%> (-0.02%) ⬇️
rs-macos-26-ak-agent 33.81% <ø> (ø)
rs-macos-26-ak-agent-desktop 0.00% <ø> (ø)
rs-macos-26-ak-api-cli-gen 66.71% <ø> (ø)
rs-macos-26-ak-browser-support 24.19% <ø> (ø)
rs-macos-26-ak-cli 11.92% <ø> (ø)
rs-macos-26-ak-platform 0.29% <ø> (ø)
rs-macos-26-ak-platform-facts 83.96% <ø> (ø)
rs-macos-26-ak-sysd 34.53% <28.07%> (-0.37%) ⬇️
rs-ubuntu-24.04-ak-agent 33.81% <ø> (ø)
rs-ubuntu-24.04-ak-agent-desktop 0.00% <ø> (ø)
rs-ubuntu-24.04-ak-api-cli-gen 66.71% <ø> (ø)
rs-ubuntu-24.04-ak-browser-support 24.19% <ø> (ø)
rs-ubuntu-24.04-ak-cli 11.92% <ø> (ø)
rs-ubuntu-24.04-ak-nss 77.37% <ø> (ø)
rs-ubuntu-24.04-ak-pam 0.00% <ø> (ø)
rs-ubuntu-24.04-ak-platform 0.29% <ø> (ø)
rs-ubuntu-24.04-ak-platform-facts 83.14% <ø> (ø)
rs-ubuntu-24.04-ak-sysd 34.77% <25.00%> (-0.24%) ⬇️
rs-ubuntu-24.04-arm-ak-agent 33.81% <ø> (+2.10%) ⬆️
rs-ubuntu-24.04-arm-ak-agent-desktop 0.00% <ø> (ø)
rs-ubuntu-24.04-arm-ak-api-cli-gen 66.71% <ø> (ø)
rs-ubuntu-24.04-arm-ak-browser-support 24.19% <ø> (ø)
rs-ubuntu-24.04-arm-ak-cli 11.92% <ø> (ø)
rs-ubuntu-24.04-arm-ak-nss 77.37% <ø> (ø)
rs-ubuntu-24.04-arm-ak-pam 0.00% <ø> (ø)
rs-ubuntu-24.04-arm-ak-platform 0.29% <ø> (ø)
rs-ubuntu-24.04-arm-ak-platform-facts 83.14% <ø> (ø)
rs-ubuntu-24.04-arm-ak-sysd 34.77% <25.00%> (-0.24%) ⬇️
rs-windows-2025-ak-agent 33.81% <ø> (ø)
rs-windows-2025-ak-agent-desktop 0.00% <ø> (ø)
rs-windows-2025-ak-api-cli-gen 66.71% <ø> (ø)
rs-windows-2025-ak-browser-support 24.19% <ø> (ø)
rs-windows-2025-ak-cli 11.92% <ø> (ø)
rs-windows-2025-ak-platform 0.30% <ø> (ø)
rs-windows-2025-ak-platform-facts 79.61% <ø> (ø)
rs-windows-2025-ak-sysd 32.97% <25.00%> (-0.21%) ⬇️
swift 3.09% <0.00%> (-0.32%) ⬇️

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

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

@authentik-automation

Copy link
Copy Markdown
Contributor

🚀 Deployed on https://pr-1365--authentik-pkg.netlify.app

@authentik-automation
authentik-automation Bot temporarily deployed to pull request August 12, 2026 10:26 Inactive

This branch was previously deployed

1 inactive deployment
pull request — 6db2e91f Deployed Aug 12, 2026 by authentik-automation[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

1 participant