spring-projects / spring-projects/spring-security

Support for OAuth Client ID Metadata Document

Open
#18,375 2 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

in: oauth2 type: enhancement
Dominant language
Java
Stars
9.6k
Forks
6.3k
Avg merge
2d 11h
Merged PRs (30d)
52

Description

Expected Behavior
Spring authorization server supports "OAuth Client ID Metadata Document" described in https://datatracker.ietf.org/doc/html/draft-ietf-oauth-client-id-metadata-document-00. As it's still a draft document, it would also appreciated that, documentation describes how to extend the Client repository to support Client ID Metadata documents

Current Behavior
Spring authorization server does not have support for https://datatracker.ietf.org/doc/html/draft-ietf-oauth-client-id-metadata-document-00.

Context
I'm working on using Spring Authorization server as AS in MCP Authentication protocol.

My organization decided to not use DCR because of security risks (publicly available endpoints). Also MCP specification: https://modelcontextprotocol.io/specification/2025-11-25/basic/authorization mentions "OAuth Client ID Metadata Document" as primary way of "registering" the client and DCR as fallback being there mainly for backward compatibility reasons

I also reported that ticket in Spring authorization server board: https://github.com/spring-projects/spring-authorization-server/issues/2270

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the OAuth Client ID Metadata Document draft and the Spring Authorization Server issue 2270 linked in the report. Then inspect the current client repository extension points and related documentation in Spring Security. Done should include a decided support approach and documentation for extending the repository, if that work belongs in this project.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, spring
Domain
authentication, security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.