File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -452,7 +452,8 @@ def _create_oauth_proxy_provider(config: OAuthProxyConfig) -> "AuthProvider":
452452 "Please install it with: pip install golf-mcp-enterprise"
453453 ) from None
454454
455- return create_oauth_proxy_provider (
455+ # Create a new config with resolved values for the enterprise package
456+ resolved_config = OAuthProxyConfig (
456457 authorization_endpoint = authorization_endpoint ,
457458 token_endpoint = token_endpoint ,
458459 client_id = client_id ,
@@ -464,6 +465,8 @@ def _create_oauth_proxy_provider(config: OAuthProxyConfig) -> "AuthProvider":
464465 token_verifier_config = config .token_verifier_config ,
465466 )
466467
468+ return create_oauth_proxy_provider (resolved_config )
469+
467470
468471def create_simple_jwt_provider (
469472 * ,
You can’t perform that action at this time.
0 commit comments