Skip to content

docs: refactor fido and passkey docs#14547

Open
ossdhaval wants to merge 5 commits into
mainfrom
docs-fido-passkey
Open

docs: refactor fido and passkey docs#14547
ossdhaval wants to merge 5 commits into
mainfrom
docs-fido-passkey

Conversation

@ossdhaval

@ossdhaval ossdhaval commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Prepare


Description

PR refactors fido and passkey documentation to achieve:

  • Improved general organization
  • Highlight passkey implementation guidelines
  • Highlight metric APIs

Target issue

closes #issue-number-here

Implementation Details


Test and Document the changes

  • Static code analysis has been run locally and issues have been fixed
  • Relevant unit and integration tests have been added/updated
  • Relevant documentation has been updated if any (i.e. user guides, installation and configuration guides, technical design docs etc)

Please check the below before submitting your PR. The PR will not be merged if there are no commits that start with docs: to indicate documentation changes or if the below checklist is not selected.

  • I confirm that there is no impact on the docs due to the code changes in this PR.

Closes #14548,

Summary by CodeRabbit

  • Documentation
    • Added a Passkeys Implementation Guide covering the conditional UI login flow, authenticator hint options, and passkey management for users and admins.
    • Introduced a dedicated FIDO2 server properties reference, including where FIDO2 configuration is stored, WebAuthn/FIDO discovery URLs, and clearer logging update instructions.
    • Reworked the FIDO & Passkeys administration guide, including an ecosystem overview and refreshed vendor metadata guidance.
    • Updated conditional UI and fallback documentation links.
    • Reworked MkDocs navigation for the new FIDO2 and Passkey doc structure.
    • Removed outdated pages on FIDO configuration, the passwordless login experience, and credential types.

Signed-off-by: Dhaval Desai <343411+ossdhaval@users.noreply.github.com>
@ossdhaval ossdhaval self-assigned this Jul 14, 2026
@mo-auto

mo-auto commented Jul 14, 2026

Copy link
Copy Markdown
Member

Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@mo-auto mo-auto added area-documentation Documentation needs to change as part of issue or PR comp-docs Touching folder /docs labels Jul 14, 2026
@coderabbitai

coderabbitai Bot commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

📝 Walkthrough

Walkthrough

FIDO2 documentation is reorganized around configuration references, passkey implementation, administration, metadata, logging, and conditional UI. MkDocs navigation is updated, obsolete pages are removed, and new configuration and passkey guide pages are added.

Changes

FIDO2 configuration and reference documentation

Layer / File(s) Summary
Configuration reference and persistence layout
docs/janssen-server/fido/fido2-server-properties-config.md, docs/janssen-server/config-guide/fido2-config/janssen-fido2-configuration.md
Adds dynamic FIDO2 property references, persistence layout details, discovery endpoints, and related documentation links.

Passkey implementation and administration

Layer / File(s) Summary
Passkey guide and administration flow
docs/janssen-server/recipes/passkey-impl-guide.md, docs/janssen-server/fido/README.md
Adds passkey terminology, conditional UI flow, script and Agama implementation paths, Casa/TUI/CLI/Config API operations, and an updated FIDO ecosystem overview.
Documentation navigation
mkdocs.yml
Replaces the FIDO2/Passkeys navigation group and adds the passkey implementation guide under Recipes & How-To.

FIDO2 operational documentation

Layer / File(s) Summary
Logging and metadata guidance
docs/janssen-server/fido/logs.md, docs/janssen-server/fido/vendor-metadata.md
Reworks logging configuration instructions and revises vendor metadata headings, paths, validation, and references.
Related documentation and terminology
docs/janssen-server/fido/conditional-ui-and-fallback.md, docs/script-catalog/fido2_extension/fido2-extension.md
Updates cross-links and sample terminology while removing superseded FIDO documentation pages.

Estimated code review effort: 3 (Moderate) | ~20 minutes

Possibly related issues

Possibly related PRs

Suggested labels: comp-jans-fido2, kind-feature

Suggested reviewers: devrimyatar, imran-ishaq, yuremm

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The template sections are present, but implementation details are blank and the required docs-only confirmation/checklist items are unchecked. Fill in the implementation details, add any relevant test/documentation notes, and check the required docs-only confirmation box.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title is concise and accurately summarizes the docs refactor.
Linked Issues check ✅ Passed The directly linked issue #14548 adds no extra requirements, and the PR matches the referenced docs refactor objective.
Out of Scope Changes check ✅ Passed All changes stay within the docs refactor scope, covering FIDO/passkey guides, nav updates, and related links.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch docs-fido-passkey

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@mo-auto

mo-auto commented Jul 14, 2026

Copy link
Copy Markdown
Member

Error: Hi @ossdhaval, You did not reference an open issue in your PR. I attempted to create an issue for you.
Please update that issues' title and body and make sure I correctly referenced it in the above PRs body.

@coderabbitai coderabbitai Bot added comp-jans-fido2 Component affected by issue or PR kind-enhancement Issue or PR is an enhancement to an existing functionality labels Jul 14, 2026

@coderabbitai coderabbitai Bot left a comment

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.

Actionable comments posted: 12

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In
`@docs/janssen-server/config-guide/fido2-config/janssen-fido2-configuration.md`:
- Around line 193-194: Update the two FIDO documentation links in the
configuration guide so their relative paths include the additional
parent-directory traversal needed to resolve from config-guide/fido2-config/ to
the docs/janssen-server/fido/ directory.

In `@docs/janssen-server/fido/conditional-ui-and-fallback.md`:
- Around line 654-656: Update the FIDO2 Configuration link in the Related
Documentation entry to reference the existing fido2-server-properties-config.md
page, preserving its descriptive text and surrounding documentation links.

In `@docs/janssen-server/fido/fido2-server-properties-config.md`:
- Line 30: Update the fido2Configuration description to hyphenate
“protocol-specific” when it modifies “details,” leaving the rest of the
documentation unchanged.

In `@docs/janssen-server/fido/logs.md`:
- Around line 80-88: Update both fenced command blocks in the documentation
around the post-config-scripts command and the fido2 restart instructions to use
the shell language identifier, preserving their command contents unchanged.
- Around line 78-82: Update the command example in the logging-level
instructions to use the put-properties-fido2 operation ID instead of
post-config-scripts, while keeping the existing configuration data file and
command structure unchanged.

In `@docs/janssen-server/fido/README.md`:
- Around line 34-38: Polish the FIDO Metric API introduction for grammatical
correctness, and capitalize the final “assertion completions” bullet to match
the capitalization of the preceding list items.
- Line 48: Update the “Fido Metadata Service (MDS)” heading to capitalize the
product name as “FIDO,” preserving the rest of the heading text.

In `@docs/janssen-server/fido/vendor-metadata.md`:
- Around line 11-15: Update the metadata references in the introductory
paragraph and Local metadata section: change the local metadata link target to
`#local-metadata`, and replace serverMetadataPath with serverMetadataFolder while
linking its configuration reference to `#servermetadatafolder`. Preserve the
surrounding documentation and description.

In `@docs/janssen-server/recipes/passkey-impl-guide.md`:
- Line 129: Correct the heading capitalization for “command Line (Jans CLI)” so
it uses standard title capitalization, changing “command” to “Command” while
preserving the rest of the heading.
- Around line 56-57: Revise the introductory paragraph describing the two
passkey implementation options to improve grammar and readability, ensuring the
comparison between Agama-based and script-based implementations flows clearly
while preserving the original meaning.

In `@docs/script-catalog/fido2_extension/fido2-extension.md`:
- Around line 54-55: Add a blank line between the “Use case: Sample Fido2
Interception Form” heading and the following paragraph so the heading is
surrounded by blank lines.

In `@mkdocs.yml`:
- Line 224: Update all FIDO2 configuration references to use the actual
fido2-server-properties-config.md filename: change the navigation entry in
mkdocs.yml, the relative link in docs/janssen-server/fido/README.md, and the
relative link in docs/janssen-server/recipes/passkey-impl-guide.md.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 20b7374b-d75f-47ad-974d-e36afcceb3bc

📥 Commits

Reviewing files that changed from the base of the PR and between 72a470e and d2f7203.

📒 Files selected for processing (12)
  • docs/janssen-server/config-guide/fido2-config/janssen-fido2-configuration.md
  • docs/janssen-server/fido/README.md
  • docs/janssen-server/fido/conditional-ui-and-fallback.md
  • docs/janssen-server/fido/config.md
  • docs/janssen-server/fido/fido2-server-properties-config.md
  • docs/janssen-server/fido/logs.md
  • docs/janssen-server/fido/passwordlessLoginExperience.md
  • docs/janssen-server/fido/types-of-creds.md
  • docs/janssen-server/fido/vendor-metadata.md
  • docs/janssen-server/recipes/passkey-impl-guide.md
  • docs/script-catalog/fido2_extension/fido2-extension.md
  • mkdocs.yml
💤 Files with no reviewable changes (3)
  • docs/janssen-server/fido/types-of-creds.md
  • docs/janssen-server/fido/passwordlessLoginExperience.md
  • docs/janssen-server/fido/config.md

Comment thread docs/janssen-server/config-guide/fido2-config/janssen-fido2-configuration.md Outdated
Comment thread docs/janssen-server/fido/conditional-ui-and-fallback.md
Comment thread docs/janssen-server/fido/fido2-server-properties-config.md Outdated
Comment thread docs/janssen-server/fido/logs.md
Comment thread docs/janssen-server/fido/logs.md Outdated
Comment thread docs/janssen-server/fido/vendor-metadata.md Outdated
Comment thread docs/janssen-server/recipes/passkey-impl-guide.md Outdated
Comment thread docs/janssen-server/recipes/passkey-impl-guide.md Outdated
Comment thread docs/script-catalog/fido2_extension/fido2-extension.md
Comment thread mkdocs.yml Outdated
coderabbitai[bot]
coderabbitai Bot previously approved these changes Jul 14, 2026
Signed-off-by: Dhaval Desai <343411+ossdhaval@users.noreply.github.com>
@coderabbitai coderabbitai Bot added kind-feature Issue or PR is a new feature request and removed kind-enhancement Issue or PR is an enhancement to an existing functionality labels Jul 14, 2026

@coderabbitai coderabbitai Bot left a comment

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.

Actionable comments posted: 3

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (3)
docs/janssen-server/fido/fido2-server-properties-config.md (2)

44-44: 🗄️ Data Integrity & Integration | 🟡 Minor | ⚡ Quick win

Align unfinishedRequestExpiration with the configuration guide.

This page shows 120, while the CLI example in janssen-fido2-configuration.md and the supplied dynamic configuration template use 180. Because the column is labeled “Default / Example,” readers cannot determine the intended value.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@docs/janssen-server/fido/fido2-server-properties-config.md` at line 44,
Update the unfinishedRequestExpiration entry in the configuration table to use
180 as the Default / Example value, aligning it with the CLI example and dynamic
configuration template.

15-30: 🗄️ Data Integrity & Integration | 🟡 Minor | ⚡ Quick win

Document all top-level fields returned by the FIDO2 configuration API.

The sibling CLI example in docs/janssen-server/config-guide/fido2-config/janssen-fido2-configuration.md also returns personCustomObjectClassList, sessionIdPersistInCache, and errorReasonEnabled, but this reference omits them. Add these fields or explicitly state that the table is intentionally partial.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@docs/janssen-server/fido/fido2-server-properties-config.md` around lines 15 -
30, The FIDO2 configuration properties table is missing top-level fields exposed
by the configuration API. Update the table to include
personCustomObjectClassList, sessionIdPersistInCache, and errorReasonEnabled,
using the corresponding descriptions and types from the sibling Janssen FIDO2
configuration documentation; do not leave the table implicitly partial.
docs/janssen-server/recipes/passkey-impl-guide.md (1)

77-85: 🗄️ Data Integrity & Integration | 🟠 Major | ⚡ Quick win

Document the required base64url encoding for allowList.

The guide shows raw JSON, but Fido2ExternalAuthenticator.py base64url-decodes the cookie before calling json.loads. Following this example causes the cookie to be discarded, so conditional/usernameless login cannot use the credential allow list. Document the encoded value (or change the script contract). The referenced script also does not set SameSite=Strict, so clarify which component owns that attribute.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@docs/janssen-server/recipes/passkey-impl-guide.md` around lines 77 - 85,
Update the allowList cookie documentation in Step 2 to state that the JSON value
must be base64url-encoded before storage, matching
Fido2ExternalAuthenticator.py’s decoding contract. Clarify which component is
responsible for setting SameSite=Strict, since the referenced script does not
apply that attribute; keep the existing Secure and HttpOnly guidance aligned
with the actual owner.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@docs/janssen-server/fido/logs.md`:
- Around line 80-82: Update the documented Jans CLI operation in the FIDO2
logging procedure from post-config-scripts to put-properties-fido2 so it applies
the loggingLevel and loggingLayout properties, or verify and track the
corresponding CLI mapping change before retaining the existing operation.

In `@docs/janssen-server/recipes/passkey-impl-guide.md`:
- Around line 129-130: Insert a blank line between the “### Command Line (Jans
CLI)” heading and the following list item to satisfy Markdownlint MD022.

In `@docs/script-catalog/fido2_extension/fido2-extension.md`:
- Line 57: Insert a blank line immediately before the “### Script Type: Python”
heading so it is separated from the preceding paragraph; leave the heading and
surrounding content unchanged.

---

Outside diff comments:
In `@docs/janssen-server/fido/fido2-server-properties-config.md`:
- Line 44: Update the unfinishedRequestExpiration entry in the configuration
table to use 180 as the Default / Example value, aligning it with the CLI
example and dynamic configuration template.
- Around line 15-30: The FIDO2 configuration properties table is missing
top-level fields exposed by the configuration API. Update the table to include
personCustomObjectClassList, sessionIdPersistInCache, and errorReasonEnabled,
using the corresponding descriptions and types from the sibling Janssen FIDO2
configuration documentation; do not leave the table implicitly partial.

In `@docs/janssen-server/recipes/passkey-impl-guide.md`:
- Around line 77-85: Update the allowList cookie documentation in Step 2 to
state that the JSON value must be base64url-encoded before storage, matching
Fido2ExternalAuthenticator.py’s decoding contract. Clarify which component is
responsible for setting SameSite=Strict, since the referenced script does not
apply that attribute; keep the existing Secure and HttpOnly guidance aligned
with the actual owner.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: c757cb58-b0ef-423a-9729-3484d6bee513

📥 Commits

Reviewing files that changed from the base of the PR and between d2f7203 and f4ed57a.

📒 Files selected for processing (9)
  • docs/janssen-server/config-guide/fido2-config/janssen-fido2-configuration.md
  • docs/janssen-server/fido/README.md
  • docs/janssen-server/fido/conditional-ui-and-fallback.md
  • docs/janssen-server/fido/fido2-server-properties-config.md
  • docs/janssen-server/fido/logs.md
  • docs/janssen-server/fido/vendor-metadata.md
  • docs/janssen-server/recipes/passkey-impl-guide.md
  • docs/script-catalog/fido2_extension/fido2-extension.md
  • mkdocs.yml

Comment thread docs/janssen-server/fido/logs.md
Comment thread docs/janssen-server/recipes/passkey-impl-guide.md Outdated
Comment thread docs/script-catalog/fido2_extension/fido2-extension.md
Signed-off-by: Dhaval Desai <343411+ossdhaval@users.noreply.github.com>
@coderabbitai coderabbitai Bot added kind-enhancement Issue or PR is an enhancement to an existing functionality and removed kind-feature Issue or PR is a new feature request labels Jul 14, 2026

@coderabbitai coderabbitai Bot left a comment

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.

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (3)
docs/janssen-server/recipes/passkey-impl-guide.md (3)

82-89: 🎯 Functional Correctness | 🟠 Major | ⚡ Quick win

Document the required Base64URL encoding for allowList.

The referenced Fido2ExternalAuthenticator.py decodes the cookie value as Base64URL before calling json.loads. Following this example literally stores raw JSON, causing the script to reject the cookie and fall back to an empty allowlist.

 * **Cookie Structure**:
-  [{"id": "<credential-id-base64url>", "type": "public-key", "transports": ["internal", "usb"]}]
+  Base64URL-encoded JSON:
+  [{"id": "<credential-id-base64url>", "type": "public-key", "transports": ["internal", "usb"]}]
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@docs/janssen-server/recipes/passkey-impl-guide.md` around lines 82 - 89,
Update the allowList cookie documentation to require Base64URL-encoding the JSON
cookie value before storage, matching the decoding performed by
Fido2ExternalAuthenticator.py. Clarify that the encoded value must contain the
documented credential structure, while preserving the existing Secure, HttpOnly,
and SameSite requirements.

139-145: 🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win

Update the CLI description for get-properties-fido2.
get-properties-fido2 returns FIDO2 configuration properties, not registered device entries. Change the first bullet to “retrieve current FIDO2 configuration properties,” or point readers to the device-management/TUI flow if that’s the intent.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@docs/janssen-server/recipes/passkey-impl-guide.md` around lines 139 - 145,
Update the first bullet describing the get-properties-fido2 operation to state
that it retrieves current FIDO2 configuration properties, replacing the
incorrect reference to registered device entries. Leave the put-properties-fido2
guidance unchanged.

150-154: 🗄️ Data Integrity & Integration | 🟠 Major | ⚡ Quick win

Use the FIDO2 Config API endpoint. The documented PUT /jans-config-api/fido2/configuration path is incorrect; the FIDO2 Config API uses PUT /jans-config-api/fido2/fido2-config.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@docs/janssen-server/recipes/passkey-impl-guide.md` around lines 150 - 154,
Update the documented FIDO2 configuration endpoint in the passkey implementation
guide from /jans-config-api/fido2/configuration to
/jans-config-api/fido2/fido2-config, while keeping the surrounding automation
guidance and OpenAPI reference unchanged.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Outside diff comments:
In `@docs/janssen-server/recipes/passkey-impl-guide.md`:
- Around line 82-89: Update the allowList cookie documentation to require
Base64URL-encoding the JSON cookie value before storage, matching the decoding
performed by Fido2ExternalAuthenticator.py. Clarify that the encoded value must
contain the documented credential structure, while preserving the existing
Secure, HttpOnly, and SameSite requirements.
- Around line 139-145: Update the first bullet describing the
get-properties-fido2 operation to state that it retrieves current FIDO2
configuration properties, replacing the incorrect reference to registered device
entries. Leave the put-properties-fido2 guidance unchanged.
- Around line 150-154: Update the documented FIDO2 configuration endpoint in the
passkey implementation guide from /jans-config-api/fido2/configuration to
/jans-config-api/fido2/fido2-config, while keeping the surrounding automation
guidance and OpenAPI reference unchanged.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 0e8c3ee8-0c6f-4628-a818-b826992f9b3f

📥 Commits

Reviewing files that changed from the base of the PR and between f4ed57a and a3d950c.

📒 Files selected for processing (3)
  • docs/janssen-server/fido/logs.md
  • docs/janssen-server/recipes/passkey-impl-guide.md
  • docs/script-catalog/fido2_extension/fido2-extension.md

coderabbitai[bot]
coderabbitai Bot previously approved these changes Jul 14, 2026
Signed-off-by: Dhaval Desai <343411+ossdhaval@users.noreply.github.com>
@coderabbitai coderabbitai Bot added kind-feature Issue or PR is a new feature request and removed kind-enhancement Issue or PR is an enhancement to an existing functionality labels Jul 15, 2026

@coderabbitai coderabbitai Bot left a comment

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.

Actionable comments posted: 1

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
docs/janssen-server/recipes/passkey-impl-guide.md (1)

82-89: 🎯 Functional Correctness | 🟠 Major | ⚡ Quick win

Document the required Base64URL encoding for allowList.

The referenced Fido2ExternalAuthenticator.py decodes the cookie value as Base64URL before parsing JSON. This example currently shows raw JSON, so an implementation following the guide will produce an unparsable cookie and break usernameless credential selection. Clarify that the JSON payload must be Base64URL-encoded before being stored in the cookie.

Proposed clarification
 * **Cookie Structure**:
+  The cookie value must be the Base64URL-encoded JSON below:
   ```json
   [{"id": "<credential-id-base64url>", "type": "public-key", "transports": ["internal", "usb"]}]
</details>

<details>
<summary>🤖 Prompt for AI Agents</summary>

Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In @docs/janssen-server/recipes/passkey-impl-guide.md around lines 82 - 89,
Update the allowList Cookie Structure documentation to state that the JSON
payload must be Base64URL-encoded before storage, matching the decoding
performed by Fido2ExternalAuthenticator.py. Clarify that the shown JSON is the
pre-encoding payload and that the cookie value must contain its
Base64URL-encoded representation.


</details>

<!-- cr-comment:v1:3c8e9a18b9ccbb7dc03f1723 -->

</blockquote></details>

</blockquote></details>
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@docs/janssen-server/fido/vendor-metadata.md`:
- Line 15: Update the configuration link in the sentence describing
serverMetadataFolder to use the property-specific anchor `#servermetadatafolder`,
while preserving the existing destination document and surrounding wording.

---

Outside diff comments:
In `@docs/janssen-server/recipes/passkey-impl-guide.md`:
- Around line 82-89: Update the allowList Cookie Structure documentation to
state that the JSON payload must be Base64URL-encoded before storage, matching
the decoding performed by Fido2ExternalAuthenticator.py. Clarify that the shown
JSON is the pre-encoding payload and that the cookie value must contain its
Base64URL-encoded representation.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 7056763f-c26d-4f9e-96fe-60c84e6fe808

📥 Commits

Reviewing files that changed from the base of the PR and between a3d950c and 89aac71.

📒 Files selected for processing (2)
  • docs/janssen-server/fido/vendor-metadata.md
  • docs/janssen-server/recipes/passkey-impl-guide.md


### 1. Local metadata service:
Janssen's FIDO server has a [configuration parameter](./config.md) called `serverMetadataFolder` which by default points to a directory location `/etc/jans/conf/fido2/server_metadata` where the administrator can (obtain from a vendor and ) place authenticator metadata in json format.
Janssen's FIDO server has a [configuration parameter](./fido2-server-properties-config.md#fido2-configuration-object-fido2configuration) called `serverMetadataFolder` which by default points to a directory location `/etc/jans/conf/fido2/server_metadata` where the administrator can (obtain from a vendor and ) place authenticator metadata in json format.

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.

🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win

Link directly to the serverMetadataFolder property.

The current link targets the generic FIDO2 configuration object. Use the property-specific anchor #servermetadatafolder so readers land on the documented setting.

Proposed fix
-Janssen's FIDO server has a [configuration parameter](./fido2-server-properties-config.md#fido2-configuration-object-fido2configuration) called `serverMetadataFolder`
+Janssen's FIDO server has a [configuration parameter](./fido2-server-properties-config.md#servermetadatafolder) called `serverMetadataFolder`
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@docs/janssen-server/fido/vendor-metadata.md` at line 15, Update the
configuration link in the sentence describing serverMetadataFolder to use the
property-specific anchor `#servermetadatafolder`, while preserving the existing
destination document and surrounding wording.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-documentation Documentation needs to change as part of issue or PR comp-docs Touching folder /docs comp-jans-fido2 Component affected by issue or PR kind-feature Issue or PR is a new feature request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix: docs: refactor fido and passkey docs -autocreated

2 participants