Skip to content

fix: update protectedRoute for Express 5 compatibility and improve MCP usage documentation #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 14 commits into from
May 21, 2025

Conversation

3nethz
Copy link
Contributor

@3nethz 3nethz commented May 20, 2025

Purpose

Updated the protectedRoute middleware to be compatible with Express 5. This resolves a type mismatch issue introduced by stricter type definitions in Express 5. Additionally, updated the README with an MCP-specific usage example to better reflect real-world usage scenarios with the @asgardeo/mcp-node package.

Related Issues

  • N/A

Related PRs

  • N/A

Checklist

  • Manual test round performed and verified.
  • Documentation provided.
  • Unit tests provided.

Security checks

@3nethz 3nethz marked this pull request as draft May 20, 2025 10:21
@3nethz 3nethz marked this pull request as ready for review May 21, 2025 07:08
@brionmario brionmario merged commit ba6c815 into asgardeo:main May 21, 2025
2 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