Repository navigation
Conversation
- Implemented Keycloak OAuth provider with token introspection - Added support for Keycloak-specific configuration (host, port, realm) - Updated authHandler to use introspection for Keycloak tokens - Added audience validation for MCP server URLs - Updated metadata endpoints to point to Keycloak when configured - Added environment variables and CLI flags for Keycloak setup - Updated README with Keycloak configuration guide and examples Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- Added KEYCLOAK_AUTH_PROTOCOL environment variable - Keycloak provider now supports both HTTP and HTTPS - Defaults to HTTPS for production use - Port is omitted from URLs when using standard ports (80/443) - Updated README with protocol configuration Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- oauthAuthorizationServerHandler now returns Keycloak endpoints when configured - Previously always returned mcpauth's /authorize endpoint - This was causing clients to hit non-existent /authorize on oauth domain - Now properly returns Keycloak's protocol/openid-connect/auth endpoint Fixes: Page not found error when redirecting to authorization endpoint Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- Added /.well-known/oauth-protected-resource/mcp route - MCP protocol requires the /mcp suffix for resource metadata - Route serves same metadata as base endpoint Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- Detailed Keycloak client configuration steps - Redirect URIs for production, development, and MCP Inspector - Web Origins configuration for CORS - Audience mapper setup (critical for token validation) - Keycloak reverse proxy configuration - Traefik public endpoint configuration - Testing instructions for MCP Inspector and Claude Desktop - Troubleshooting section for common issues - Reference to official MCP guide Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Edge auth for Openshell
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Merging dev branch into main. Key features included:
/_ws_tunnelroute for WebSocket gateway authoideibrett/mcpauth:latestto Docker HubTest plan
🤖 Generated with Claude Code