Implement RFC 9207 issuer validation in ClientOAuthProvider (#1605)
This commit is contained in:
parent
990bd76b53
commit
4aade88558
1 changed files with 707 additions and 149 deletions
|
|
@ -26,7 +26,7 @@ public class DcrFailureTests : OAuthTestBase
|
|||
OAuth = new ClientOAuthOptions()
|
||||
{
|
||||
RedirectUri = new Uri("myapp://callback"),
|
||||
AuthorizationRedirectDelegate = HandleAuthorizationUrlAsync,
|
||||
AuthorizationCallbackHandler = HandleAuthorizationUrlAsync,
|
||||
DynamicClientRegistration = new() { ClientName = "Test MCP Client" },
|
||||
},
|
||||
}, HttpClient, LoggerFactory);
|
||||
|
|
@ -54,7 +54,7 @@ public class DcrFailureTests : OAuthTestBase
|
|||
OAuth = new ClientOAuthOptions()
|
||||
{
|
||||
RedirectUri = new Uri("myapp://callback"),
|
||||
AuthorizationRedirectDelegate = HandleAuthorizationUrlAsync,
|
||||
AuthorizationCallbackHandler = HandleAuthorizationUrlAsync,
|
||||
DynamicClientRegistration = new()
|
||||
{
|
||||
ClientName = "Test MCP Client",
|
||||
|
|
@ -75,7 +75,7 @@ public class DcrFailureTests : OAuthTestBase
|
|||
OAuth = new ClientOAuthOptions()
|
||||
{
|
||||
RedirectUri = new Uri("http://localhost:1179/callback"),
|
||||
AuthorizationRedirectDelegate = HandleAuthorizationUrlAsync,
|
||||
AuthorizationCallbackHandler = HandleAuthorizationUrlAsync,
|
||||
DynamicClientRegistration = new()
|
||||
{
|
||||
ClientName = "Test MCP Client",
|
||||
|
|
|
|||
Loading…
Reference in a new issue