Skip to content

Commit bb2e602

Browse files
committed
test: remove a test align with Duende.IdentityModel.Client
1 parent 466ef5e commit bb2e602

File tree

1 file changed

+0
-26
lines changed

1 file changed

+0
-26
lines changed

src/IdentityServer4/test/IdentityServer.IntegrationTests/Conformance/Basic/ResponseTypeResponseModeTests.cs

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -88,31 +88,5 @@ public async Task Request_with_response_type_code_supported()
8888
authorization.Code.Should().NotBeNull();
8989
authorization.State.Should().Be(state);
9090
}
91-
92-
// this might not be in sync with the actual conformance tests
93-
// since we dead-end on the error page due to changes
94-
// to follow the RFC to address open redirect in original OAuth RFC
95-
[Fact]
96-
[Trait("Category", Category)]
97-
public async Task Request_missing_response_type_rejected()
98-
{
99-
await _mockPipeline.LoginAsync("bob");
100-
101-
var state = Guid.NewGuid().ToString();
102-
var nonce = Guid.NewGuid().ToString();
103-
104-
var url = _mockPipeline.CreateAuthorizeUrl(
105-
clientId: "code_client",
106-
responseType: null, // missing
107-
scope: "openid",
108-
redirectUri: "https://code_client/callback",
109-
state: state,
110-
nonce: nonce);
111-
112-
_mockPipeline.BrowserClient.AllowAutoRedirect = true;
113-
var response = await _mockPipeline.BrowserClient.GetAsync(url);
114-
115-
_mockPipeline.ErrorMessage.Error.Should().Be("unsupported_response_type");
116-
}
11791
}
11892
}

0 commit comments

Comments
 (0)