Skip to content

Authorization Server: customize authorization code request validation - #92

Open
arnabnandy7 wants to merge 1 commit into
spring-ai-community:mainfrom
arnabnandy7:fix/cimd-localhost-redirect-uri
Open

Authorization Server: customize authorization code request validation#92
arnabnandy7 wants to merge 1 commit into
spring-ai-community:mainfrom
arnabnandy7:fix/cimd-localhost-redirect-uri

Conversation

@arnabnandy7

Copy link
Copy Markdown

Summary

  • Add an authorization code request validator hook to McpAuthorizationServerConfigurer
  • Apply custom validators using the existing object post-processor pattern
  • Allow applications to support CIMD clients that use dynamic localhost redirect URI ports
  • Preserve Spring Authorization Server’s strict validator as the default
  • Document configuration and security considerations
  • Add test coverage for custom redirect URI validation

Fixes #84

Testing

./mvnw -pl mcp-authorization-server -Dtest=McpAuthorizationServerConfigurerTest test

Signed-off-by: Arnab Nandy <arnab_nandy7@yahoo.com>
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.

Authorization Server: Support CIMD flavor from Claude Code

1 participant