Commit cc9ece2
docs: document passkey advanced configuration options (ory#2519)
* docs(kratos): document passkey advanced configuration options
Add an 'Advanced configuration' section under the dedicated passkey
strategy that documents:
- authenticator_selection (attachment, require_resident_key, user_verification)
- attestation (preference, allow_none, allow_self, allow_untrusted)
- timeouts (registration, login)
Include a warning admonition explaining that disabling
attestation.allow_none rejects most consumer passkeys, and add a
three-tab example (Ory CLI, Ory Network, self-hosted Kratos) showing
cross-platform attachment with required user verification.
* docs: update passkey options to match final Kratos API
The Kratos PR moved to a simpler API shape after review:
- resident_key enum replaces the require_resident_key boolean
(values: required, preferred, discouraged; default required)
- attestation.policy enum replaces the three allow_* booleans
(values: allow_untrusted, allow_self, allow_none; default
allow_untrusted)
- authenticator_selection.attachment no longer defaults to "platform";
omit it to accept either platform or cross-platform authenticators
Rewrite the warning admonition to match the new policy semantics and
note that Kratos does not verify attestation certificate chains today,
so "allow_self" and "allow_none" are opt-in stricter stances rather
than cryptographic validation.
Update the self-hosted example to use the new field names.
* docs: prettier
* docs: drop passkey attestation.policy section
Policy knob was removed from the Kratos PR because Kratos has no trust-anchor verification, so
strict policy levels did not provide cryptographic validation. Docs now only describe the ceremony
options that shipped: authenticator_selection, attestation.preference, timeouts.
* docs: reconcile passkey advanced config with shipped Kratos API
Adds the missing default-behavior callout (attachment was hardcoded
"platform", now defaults to no preference) and clarifies that
attestation.preference is request-only — Kratos does not verify or
enforce the returned attestation statement. Also corrects the timeouts
defaults (5m with user verification, 2m without).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
* docs: clarify passkey timeout enforcement and soften advanced-config intro
- Note that timeouts.registration/login are browser-enforced; flow
lifespans govern server-side validity
- Reword section intro so it no longer contradicts the attachment
default-change note
- Precise wording for the library default timeout values
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
* docs: address review feedback on passkey advanced config
- Fold the timeouts and attestation notes into the options table per
reviewer request; remove the standalone notes
- Use 'Ory Kratos' (not 'Kratos') in the attestation/timeout copy
- Reword intro ('settings', 'All are optional') and add a warning that
changing these settings can lock out existing users (matches Console UI)
- 'register using either platform or cross-platform' wording fix
- Drop redundant default attribute from the duplicate TabItem in the
enable-strategy tabs block
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-authored-by: Wassim Bougarfa <12980387+wassimoo@users.noreply.github.com>1 parent 9e311d5 commit cc9ece2
1 file changed
Lines changed: 76 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | | - | |
| 97 | + | |
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
114 | 189 | | |
115 | 190 | | |
116 | 191 | | |
| |||
0 commit comments