Skip to content

Conversation

galatanovidiu
Copy link
Contributor

No description provided.

- Introduced a new method `authenticate_mcp_request` to handle MCP-specific authentication requests.
- Enhanced JWT validation to skip OAuth tokens and ensure proper handling of JWT tokens.
- Improved logging and comments for clarity and maintainability.
- Added a filter to hook into MCP-specific authentication process.
- Updated the `check_permission` method to accept a WP_REST_Request parameter for improved authentication handling.
- Integrated a filter for custom authentication logic and added support for OAuth Passport.
- Improved error responses for unauthorized access, specifying the need for valid JWT or OAuth tokens.
- Maintained fallback to check user login status for cookie authentication.
- Updated the `apply_modifications` method to ensure the 'required' field is always an array if it exists.
- Improved exception documentation in the constructor to clarify potential error scenarios.
@galatanovidiu galatanovidiu merged commit cf6ed7b into trunk Jul 22, 2025
@galatanovidiu galatanovidiu deleted the fix/oaauth branch July 22, 2025 15:17
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.

1 participant