Skip to content

Conversation

@himeshsiriwardana
Copy link
Contributor

@himeshsiriwardana himeshsiriwardana commented Jan 5, 2026

Purpose

$subject

Summary by CodeRabbit

  • Documentation
    • Consolidated documentation redirects across Identity Server versions (7.0.0, 7.1.0, 7.2.0, next) to unify user attributes management references and ensure legacy paths redirect to the updated location.
    • Updated Asgardeo docs: added the same redirect mapping and removed the Device authorization flow entry from the OIDC login flows navigation.

✏️ Tip: You can customize this high-level summary in your review settings.

@coderabbitai
Copy link

coderabbitai bot commented Jan 5, 2026

Walkthrough

Added a redirect mapping in several MkDocs configs to point guides/users/attributes/manage-attributes.md to guides/users/attributes/user-attributes/manage-attributes.md, and removed the Device authorization flow entry from the OIDC login flows navigation in en/asgardeo/mkdocs.yml.

Changes

Cohort / File(s) Summary
Identity Server MkDocs redirect configs
en/identity-server/7.0.0/mkdocs.yml, en/identity-server/7.1.0/mkdocs.yml, en/identity-server/7.2.0/mkdocs.yml, en/identity-server/next/mkdocs.yml
Added redirect mapping: guides/users/attributes/manage-attributes.mdguides/users/attributes/user-attributes/manage-attributes.md in the redirect_maps section.
Asgardeo MkDocs config
en/asgardeo/mkdocs.yml
Added the same redirect mapping as above; removed the "Device authorization flow" entry from the OIDC login flows navigation (guides/authentication/oidc/implement-device-flow.md).

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Poem

🐰 A hop through redirects, neat and spry,
Paths now point where the attributes lie.
One flow tucked away, the maps align,
Docs find their burrow — tidy by design. 🥕✨

Pre-merge checks

❌ Failed checks (1 warning)
Check name Status Explanation Resolution
Description check ⚠️ Warning The PR description is incomplete. It only contains a Purpose section with placeholder text '$subject' and is missing required sections including Related PRs, Test environment, and Security checks. Complete the Purpose section with actual details, add Related PRs section, specify Test environment details, and include the Security checks checklist with appropriate responses.
✅ Passed checks (2 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately describes the primary change: adding redirects for the manage attributes documentation across multiple version configurations.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

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 and usage tips.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

🧹 Nitpick comments (1)
en/identity-server/7.2.0/mkdocs.yml (1)

445-445: LGTM! Redirect is correctly configured.

The redirect mapping is syntactically correct and points to a valid target path in the navigation structure (line 693).

However, consider optimizing the redirect chains created by this change. Lines 230-231 currently redirect to guides/users/attributes/manage-attributes.md, which now redirects again to the final destination. For better performance and maintainability, those entries could be updated to point directly to guides/users/attributes/user-attributes/manage-attributes.md.

🔎 Script to identify all redirects that may benefit from updating
#!/bin/bash
# Find all redirects pointing to the old path that now has its own redirect
rg -n "guides/users/attributes/manage-attributes.md" en/identity-server/*/mkdocs.yml | \
  grep -v "user-attributes/manage-attributes.md" | \
  grep "redirect_maps" -A 200

This will help identify any other redirect chains across all version files that could be optimized.

📜 Review details

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between d3452be and 3599a92.

📒 Files selected for processing (4)
  • en/identity-server/7.0.0/mkdocs.yml
  • en/identity-server/7.1.0/mkdocs.yml
  • en/identity-server/7.2.0/mkdocs.yml
  • en/identity-server/next/mkdocs.yml
🔇 Additional comments (3)
en/identity-server/7.0.0/mkdocs.yml (1)

439-439: Redirect for legacy manage-attributes path looks correct

The new mapping cleanly forwards guides/users/attributes/manage-attributes.md to the new canonical location under user-attributes/manage-attributes.md, consistent with the nav entry and existing redirects in this section.

en/identity-server/7.1.0/mkdocs.yml (1)

442-442: Consistent manage-attributes redirect for 7.1.0

This redirect aligns 7.1.0 with the other versions by routing the old guides/users/attributes/manage-attributes.md path to the current user-attributes/manage-attributes.md page. No issues spotted.

en/identity-server/next/mkdocs.yml (1)

445-445: Next version redirect matches earlier versions

The added redirect for guides/users/attributes/manage-attributes.md correctly targets guides/users/attributes/user-attributes/manage-attributes.md and maintains consistency with 7.0.0 and 7.1.0. Looks good as-is.

AnuradhaSK
AnuradhaSK previously approved these changes Jan 6, 2026
Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

🧹 Nitpick comments (1)
en/asgardeo/mkdocs.yml (1)

172-173: Consider removing trailing blank lines.

These trailing blank lines after the redirect entry could be removed for consistency and cleaner formatting.

📜 Review details

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 3599a92 and c71fbdd.

📒 Files selected for processing (1)
  • en/asgardeo/mkdocs.yml
🔇 Additional comments (1)
en/asgardeo/mkdocs.yml (1)

171-171: LGTM! Redirect mapping correctly added.

The redirect mapping for the manage attributes documentation is properly configured and aligns with the navigation structure (line 396). This ensures backward compatibility for existing links after the documentation restructure.

@himeshsiriwardana himeshsiriwardana merged commit fb6f204 into wso2:master Jan 6, 2026
2 of 3 checks passed
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.

2 participants