Skip to content

Commit ba986d3

Browse files
committed
Move the test
1 parent e5a2deb commit ba986d3

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

policies/client_registration/client_registration_test.rego

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -189,12 +189,6 @@ test_redirect_uris if {
189189
"redirect_uris": [],
190190
}
191191

192-
# HTTPS redirect_uri with non-standard port
193-
client_registration.allow with input.client_metadata as {
194-
"client_uri": "https://example.com/",
195-
"redirect_uris": ["https://example.com:8443/callback"],
196-
}
197-
198192
# Not required for the client_credentials grant
199193
client_registration.allow with input.client_metadata as {
200194
"grant_types": ["client_credentials"],
@@ -220,6 +214,13 @@ test_web_redirect_uri if {
220214
"client_uri": "https://example.com/",
221215
"redirect_uris": ["https://example.com/second/callback", "https://example.com/callback", "https://example.com/callback?query=value"],
222216
}
217+
218+
# HTTPS redirect_uri with non-standard port
219+
client_registration.allow with input.client_metadata as {
220+
"application_type": "web",
221+
"client_uri": "https://example.com/",
222+
"redirect_uris": ["https://example.com:8443/callback"],
223+
}
223224
}
224225

225226
test_web_redirect_uri_insecure if {

0 commit comments

Comments
 (0)