Add native support for RFC 9207 (OAuth 2.0 Authorization Server Issuer Identification) in Authorization Server

Abierto
#20,017 1 comentario 1 reacción 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
30/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
java, spring

Línea de trabajo

Start from the authorization endpoint's success redirect, where the authorization code is added to the redirect URI, and from the authorization server settings type named in the issue. The metadata endpoint at .well-known/oauth-authorization-server must also advertise authorization_response_iss_parameter_supported. Done means the iss parameter is appended by default or behind a setting, and the metadata reports it. The default and the setting name are still open, so confirm them in the thread before writing code.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

in: oauth2 type: enhancement
Feature Description

Provide native support for RFC 9207 (OAuth 2.0 Authorization Server Issuer Identification) in Spring Authorization Server.

Context & Motivation

Modern OAuth 2.1 clients and ecosystems (such as OpenAI/ChatGPT MCP integrations or strict OIDC clients) now enforce RFC 9207 to prevent mix-up attacks. For instance, GitHub recently rolled this out globally, and platforms like ChatGPT refuse authorization responses that lack the iss parameter.

Currently, when using Spring Security 7.x / Spring Authorization Server, the server does not automatically append the iss parameter to the Authorization Response (Redirection URI), nor is there an explicit configuration property to toggle authorization_response_iss_parameter_supported in the Provider Metadata.

Desired Outcome
  1. The Authorization Endpoint should support appending the iss parameter to the authorization response out-of-the-box (ideally enabled by default or easily configurable via ProviderSettings / AuthorizationServerSettings).
  2. The .well-known/oauth-authorization-server metadata endpoint should expose authorization_response_iss_parameter_supported: true.
Lenguaje dominante
Java
Estrellas
9.7k
Forks
6.4k
Merge medio
3 h 11 min
PR fusionados (30 d)
19

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de spring-projects/spring-security

Todos los issues de spring-projects/spring-security

Issues similares

Más issues de Java

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.