Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: add RFC 9728 OAuth2 resource metadata support#18920

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation

ThomasK33
Copy link
Member

Enhanced OAuth2 and MCP Compliance for API Authentication

This PR improves OAuth2 and MCP (Microsoft Cloud for Sovereignty) compliance by:

  1. Adding RFC 9728 compliantWWW-Authenticate headers with resource metadata URLs
  2. Passing the configuredAccessURL to API key middleware for proper audience validation
  3. Creating specialized CORS handling for OAuth2 and MCP endpoints with appropriate headers
  4. Making thestate parameter optional in OAuth2 authorization requests

These changes ensure proper OAuth2 token audience validation against the configured access URL and improve interoperability with OAuth2 clients by providing better error responses and metadata discovery.

@ThomasK33Graphite App
Copy link
MemberAuthor

This stack of pull requests is managed byGraphite. Learn more aboutstacking.

@ThomasK33ThomasK33 marked this pull request as ready for reviewJuly 19, 2025 09:16
…mprovementsChange-Id: I99fc71255165133bf858268030d39d2b1a71a288Signed-off-by: Thomas Kosiewski <tk@coder.com>
@ThomasK33ThomasK33force-pushed thethomask33/07-19-feat_enhance_oauth2_rfc_compliance_with_resource_metadata_and_cors_improvements branch frombd01a1d tocfa05faCompareJuly 19, 2025 16:52
Copy link
Member

@kylecarbskylecarbs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

mostly a stamp but i asked blink too

@ThomasK33ThomasK33 merged commit071383b intomainJul 19, 2025
31 checks passed
@ThomasK33ThomasK33 deleted the thomask33/07-19-feat_enhance_oauth2_rfc_compliance_with_resource_metadata_and_cors_improvements branchJuly 19, 2025 20:05
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsJul 19, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@kylecarbskylecarbskylecarbs approved these changes

@dannykoppingdannykoppingAwaiting requested review from dannykopping

Assignees

@ThomasK33ThomasK33

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@ThomasK33@kylecarbs

[8]ページ先頭

©2009-2025 Movatter.jp