8000 New extension: oauth-protected-resource by tomhoule · Pull Request #119 · grafbase/extensions · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

New extension: oauth-protected-resource #119

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

tomhoule
Copy link
Collaborator

This is an authentication extension that does not authenticate, but just exposes the OAuth protected resource metadata endpoint. We are going to use this for the Grafbase remote MCP.

closes GB-9242

Copy link
linear bot commented Jun 24, 2025

Cargo.toml Outdated
@@ -68,7 +68,7 @@ futures-util = "0.3.31"
fxhash = "0.2.1"
grafbase-database-definition = { version = "0.1.0", path = "crates/database-definition" }
grafbase-postgres-introspection = { version = "0.1.0", path = "crates/postgres-introspection" }
grafbase-sdk = "0.17.4"
grafbase-sdk = { git = "https://github.com/grafbase/grafbase", "branch" = "tomhoule-upmmoowyrkyq" }
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Just until we have a new release. I won't merge before the release, obviously.

Cargo.toml Outdated
@@ -78,6 +78,7 @@ itertools = "0.14.0"
jiff = "0.2.6"
jwt-compact = "0.8.0"
names = "0.14.0"
oauth-protected-resource-metadata-shared = { version = "0.1.0", path = "crates/oauth-protected-resource-metadata-shared" }
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Shared because I'm going to add the same capability to the JWT extension.

@tomhoule tomhoule force-pushed the tomhoule-uporrvltupkz branch 3 times, most recently from 900579d to f7304f0 Compare June 25, 2025 06:53
@tomhoule tomhoule changed the title New extension: oauth-protected-resource-metadata New extension: oauth-protected-resource Jun 25, 2025
@tomhoule tomhoule force-pushed the tomhoule-uporrvltupkz branch from f7304f0 to 2034e4c Compare June 25, 2025 07:52
This is an authentication extension that does not authenticate, but just exposes the [OAuth protected resource metadata endpoint](https://datatracker.ietf.org/doc/html/rfc9728).

closes GB-9242
@tomhoule tomhoule force-pushed the tomhoule-uporrvltupkz branch from 2034e4c to 046feec Compare June 25, 2025 13:17
Co-authored-by: Fredrik Björk <fredrik.bjork@gmail.com>
@tomhoule tomhoule marked this pull request as ready for review June 25, 2025 15:09
@tomhoule tomhoule force-pushed the tomhoule-uporrvltupkz branch from 0560b1d to d944586 Compare June 25, 2025 15:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0