Skip to content

Conversation

d3varaja
Copy link

@d3varaja d3varaja commented Oct 1, 2025

Purpose:
Provide official, comprehensive documentation and examples for integrating Asgardeo route protection with TanStack Router, meeting developer needs for a secure and flexible routing solution.

Related PRs:
asgardeo/javascript#176

Test Environment:
Tested with React 18, TanStack Router latest stable version, on modern browsers (Chrome, Firefox, Edge) across Windows and macOS.

Security Checks:

@CLAassistant
Copy link

CLAassistant commented Oct 1, 2025

CLA assistant check
All committers have signed the CLA.

Updated the protecting-routes.md documentation to include both React Router
and TanStack Router integrations. The documentation now provides:

- Clear section navigation for both routing libraries
- Installation instructions for @asgardeo/tanstack-router
- Basic setup examples with ProtectedRoute component
- Custom fallback and loading state examples
- Route layout integration examples
- Consistent structure matching the React Router documentation

This update ensures developers using TanStack Router have comprehensive
documentation for implementing route protection with Asgardeo.
@d3varaja d3varaja force-pushed the docs/add-tanstack-router-guide branch from ace1011 to dc5732f Compare October 1, 2025 08:47
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