Skip to content

fix: webauthn sign in wording from the #100 review - #104

Merged
porcellus merged 1 commit into
5.5from
fix/5.5-review-wording
Oct 28, 2026
Merged

porcellus merged 1 commit into
5.5from
fix/5.5-review-wording

Conversation

@porcellus

Copy link
Copy Markdown
Collaborator

Follow-up to #100 (merged before the review landed)

Applies Tamás's review on #100:

  • Describes the observable behaviour (a later sign in with the same webauthnGeneratedOptionsId returns OPTIONS_NOT_FOUND_ERROR) instead of "consumed atomically".
  • Expired options are INVALID_OPTIONS_ERROR (reason: "Options expired"), not OPTIONS_NOT_FOUND_ERROR; they only become "not found" after the 24h cleanup cron. Per-status descriptions added for INVALID_OPTIONS_ERROR / INVALID_AUTHENTICATOR_ERROR / INVALID_CREDENTIALS_ERROR.
  • CREDENTIAL_NOT_FOUND_ERROR also covers a credential whose user is not in the requested tenant.
  • Endpoint description and CHANGELOG: requests without a cdi-version header resolve to the latest CDI and consume the options too.

The same text is carried into the 5.6 / 5.7 / 5.8 PRs (their base branches were cut from the pre-review 5.5 tip).

- describe the observable result (later sign in with the same options id ->
  OPTIONS_NOT_FOUND_ERROR) instead of 'consumed atomically'
- expired options are INVALID_OPTIONS_ERROR, not OPTIONS_NOT_FOUND_ERROR
- CREDENTIAL_NOT_FOUND_ERROR also covers a credential whose user is not in the tenant
- requests without a cdi-version header resolve to the latest CDI and consume too

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SamDP1AS8ybBhCc1CWBWWk
@porcellus
porcellus force-pushed the fix/5.5-review-wording branch from 081d03c to f5f0aae Compare October 28, 2026 19:01
@porcellus

Copy link
Copy Markdown
Collaborator Author

Restructured: this branch now carries only its own version's changes (the earlier push had duplicated the 5.4.1 / 5.5 wording fixes as extra commits). Those arrive by merging the base branches forward — #105 → 5.4 → 5.5 (#104) → 5.6 (#101) → 5.7 (#102) → 5.8 (#103) — merging each base into the next feature branch as it lands. Expected conflicts: the CHANGELOG (adjacent sections) on each step, the users/count text in #102, and the SAML client / userinfo text in #103; the intended merged result per branch is in the PR author's notes.

@porcellus
porcellus marked this pull request as ready for review October 28, 2026 19:02
@porcellus
porcellus merged commit 76a2874 into 5.5 Oct 28, 2026
1 of 2 checks passed
@porcellus
porcellus deleted the fix/5.5-review-wording branch October 28, 2026 19:02
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.

1 participant