mirror of
https://github.com/element-hq/matrix-authentication-service.git
synced 2026-09-01 20:08:36 +00:00
Remove the invalid characters OPA policy tests
This commit is contained in:
@@ -60,22 +60,6 @@ test_device_scopes {
|
||||
with input.grant_type as "authorization_code"
|
||||
with input.scope as "urn:matrix:org.matrix.msc2967.client:device:AAbbCCdd01-asdasdsa1-2313"
|
||||
|
||||
# Invalid characters
|
||||
not allow with input.user as user
|
||||
with input.client as client
|
||||
with input.grant_type as "authorization_code"
|
||||
with input.scope as "urn:matrix:org.matrix.msc2967.client:device:AABB:CCDDEE"
|
||||
|
||||
not allow with input.user as user
|
||||
with input.client as client
|
||||
with input.grant_type as "authorization_code"
|
||||
with input.scope as "urn:matrix:org.matrix.msc2967.client:device:AABB*CCDDEE"
|
||||
|
||||
not allow with input.user as user
|
||||
with input.client as client
|
||||
with input.grant_type as "authorization_code"
|
||||
with input.scope as "urn:matrix:org.matrix.msc2967.client:device:AABB!CCDDEE"
|
||||
|
||||
# Too short
|
||||
not allow with input.user as user
|
||||
with input.client as client
|
||||
|
||||
Reference in New Issue
Block a user