Skip to content

Conversation

@erwinkramer
Copy link
Contributor

@erwinkramer erwinkramer commented Jan 16, 2026

#12 wasn't functionally complete yet, I wasn't able to modify OAuth2Configuration since that's being auto generated by OpenAPI properties that do not contain AuthorizationServers (it only maps the AuthorizationUrl from spec, via CreateConfiguration).

This PR allows additional (or your only) OAuth2Configuration by exposing it directly via McpifyOptions. Also, if any config has AuthorizationServers, only use those.

Also, per https://modelcontextprotocol.io/specification/2025-11-25/basic/authorization#:~:text=HTTP%20header%20under-,resource_metadata,-when%20returning%20401 the resource_metadata_url in the WWW-Authenticate Header should be called resource_metadata, so i renamed that.

@abdebek abdebek merged commit 0a5fa9d into abdebek:main Jan 17, 2026
1 check 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