Skip to content

Commit e209d41

Browse files
committed
test(auth): add required issuer to authorization-server mock metadata
1 parent 5540552 commit e209d41

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

crates/rmcp/src/transport/auth.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3442,6 +3442,7 @@ mod tests {
34423442
http_response(
34433443
200,
34443444
serde_json::json!({
3445+
"issuer": "https://auth.example.com",
34453446
"authorization_endpoint": "https://auth.example.com/authorize",
34463447
"token_endpoint": "https://auth.example.com/token"
34473448
}),
@@ -3866,6 +3867,7 @@ mod tests {
38663867
http_response(
38673868
200,
38683869
serde_json::json!({
3870+
"issuer": "https://auth.example.com",
38693871
"authorization_endpoint": "https://auth.example.com/authorize",
38703872
"token_endpoint": "https://auth.example.com/token"
38713873
}),

0 commit comments

Comments
 (0)