Skip to content

Make authenticator selection criteria explicit and configurable#245

Merged
kayjoosten merged 2 commits intomainfrom
feature/issue-241-authenticator-selection-configurable
May 7, 2026
Merged

Make authenticator selection criteria explicit and configurable#245
kayjoosten merged 2 commits intomainfrom
feature/issue-241-authenticator-selection-configurable

Conversation

@kayjoosten
Copy link
Copy Markdown
Contributor

Restrict registration to cross-platform (hardware-bound) tokens by
changing authenticator_attachment from NO_PREFERENCE to cross-platform.
Expose authenticator_attachment, user_verification, and
attestation_conveyance as operator-configurable parameters in
parameters.yaml so values can be changed without touching PHP constants

    Restrict registration to cross-platform (hardware-bound) tokens by
    changing authenticator_attachment from NO_PREFERENCE to cross-platform.
    Expose authenticator_attachment, user_verification, and
    attestation_conveyance as operator-configurable parameters in
    parameters.yaml so values can be changed without touching PHP constants
.
@kayjoosten kayjoosten requested a review from johanib May 5, 2026 08:13
@johanib johanib linked an issue May 5, 2026 that may be closed by this pull request
Copy link
Copy Markdown
Contributor

@johanib johanib left a comment

Choose a reason for hiding this comment

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

Looks good, some comments.

Comment thread config/openconext/parameters.yaml.dist
Comment thread CHANGELOG.md
default:
challenge_length: 64
timeout: 30000
user_verification: !php/const Webauthn\AuthenticatorSelectionCriteria::USER_VERIFICATION_REQUIREMENT_DISCOURAGED
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

resident_key and user_verification are still hardcoded. Which is fine, not required for ticket 👍

@kayjoosten kayjoosten requested a review from johanib May 6, 2026 11:49
@kayjoosten kayjoosten merged commit 6a73a33 into main May 7, 2026
1 check passed
@johanib johanib deleted the feature/issue-241-authenticator-selection-configurable branch May 7, 2026 08:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make authenticator selection criteria explicit and configurable

2 participants