Skip to content

feat(auth): .well-known endpoints delegated to auth server #246

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

Merged
merged 1 commit into from
Aug 7, 2025

Conversation

manusa
Copy link
Member

@manusa manusa commented Aug 7, 2025

Signed-off-by: Marc Nuri <marc@marcnuri.com>
@@ -32,9 +33,6 @@ func AuthorizationMiddleware(requireOAuth bool, serverURL string, oidcProvider *
}

audience := Audience
if serverURL != "" {
Copy link
Member

Choose a reason for hiding this comment

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

Removal of this makes sense for demo purposes. But in the future, we need to have server url specific audience, otherwise, any user can generate a token for mcp-server audience and sends here.

Copy link
Member Author

Choose a reason for hiding this comment

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

Was thinking of providing the audience via config flag (considering our internal document for the Keycloak integration)

Copy link
Member

Choose a reason for hiding this comment

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

Getting audience via flag is a good idea.

@manusa manusa merged commit 9ec5c82 into containers:main Aug 7, 2025
6 checks passed
@manusa manusa deleted the feat/well-known branch August 7, 2025 07:49
@manusa manusa added this to the 0.1.0 milestone Aug 7, 2025
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