add none to test and the router. #1116
Merged
+2
−2
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Advertise
noneintoken_endpoint_auth_methods_supportedso that public OAuth clients can interoperate with the MCP Auth Router.Motivation and Context
Dynamic client registration and token exchange flows for public clients require the AS metadata to list
"none"as a supported token endpoint authentication method. Without this, public clients cannot complete an authorization code token flow.This change updates the Authorization Server metadata to include
"none"alongside"client_secret_post".Fixes #1027
How Has This Been Tested?
src/server/auth/router.test.tsto expect both"client_secret_post"and"none".Breaking Changes
Not that im aware of. Test are passing but I do not have enough knowledge yet to verify backwards compatibility.
Types of changes
Checklist
Additional context
I checked to see if there was specific documentation that needed to be updated but I didn't see any. If I need to add it let me know.
@felixweinberger Thanks for adding the good first issue label.