Skip to content

Commit 453cafb

Browse files
fix: add 'invalid_target' to AuthorizationErrorCode (RFC 8707) (#2642)
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
1 parent 2a3d065 commit 453cafb

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/mcp/server/auth/provider.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ class RegistrationError(Exception):
6868
"invalid_scope",
6969
"server_error",
7070
"temporarily_unavailable",
71+
"invalid_target",
7172
]
7273

7374

0 commit comments

Comments
 (0)