spring-projects / spring-projects/spring-security
Kotlin DSL Missing OAuth 2.0 Protected Resource Metadata (RFC-9728)
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 9.6k
- Forks
- 6.3k
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 52
Description
Support for RFC-9728 was added with #17244 in spring security 7.0. The kotlin DSL needs to be updated to support the new configuration.
The DSL should support this:
http {
oauth2ResourceServer {
protectedResourceMetadata {
// ...
}
}
}
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with config/src/main/kotlin/org/springframework/security/config/annotation/web/OAuth2ResourceServerDsl.kt and review the RFC-9728 support introduced in #17244. Trace the existing oauth2ResourceServer DSL and verify that the shown protectedResourceMetadata configuration is supported; done when the Kotlin DSL accepts that block consistently with the existing resource-server configuration.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, kotlin, spring
- Domain
- security
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 72/100