commit
cf25e28c28
156 files changed
+38669
No files matched your search
@@ -0,0 +1,185 @@
|
||||
[
|
||||
{
|
||||
"id": "issuer-missing-client",
|
||||
"path": "/oauth/device/code",
|
||||
"method": "POST",
|
||||
"expected_status": 400,
|
||||
"expected_json": {
|
||||
"/error": "invalid_request",
|
||||
"/error_description": "The request is missing a required parameter, includes an invalid parameter value, includes a parameter more than once, or is otherwise malformed.",
|
||||
"/hint": "Check the `client_id` parameter"
|
||||
},
|
||||
"compare_headers": [
|
||||
"Cache-Control",
|
||||
"Pragma",
|
||||
"WWW-Authenticate"
|
||||
],
|
||||
"expected_headers": {
|
||||
"Cache-Control": "no-cache, private",
|
||||
"Pragma": null,
|
||||
"WWW-Authenticate": null
|
||||
},
|
||||
"form": {}
|
||||
},
|
||||
{
|
||||
"id": "issuer-unknown-client",
|
||||
"path": "/oauth/device/code",
|
||||
"method": "POST",
|
||||
"expected_status": 401,
|
||||
"expected_json": {
|
||||
"/error": "invalid_client",
|
||||
"/error_description": "Client authentication failed"
|
||||
},
|
||||
"compare_headers": [
|
||||
"Cache-Control",
|
||||
"Pragma",
|
||||
"WWW-Authenticate"
|
||||
],
|
||||
"expected_headers": {
|
||||
"Cache-Control": "no-cache, private",
|
||||
"Pragma": null,
|
||||
"WWW-Authenticate": null
|
||||
},
|
||||
"form": {
|
||||
"client_id": "unknown-device-client"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "GET /oauth/device",
|
||||
"path": "/oauth/device",
|
||||
"method": "GET",
|
||||
"expected_status": 500,
|
||||
"expected_json": {
|
||||
"/message": "Server Error"
|
||||
},
|
||||
"compare_headers": [
|
||||
"Cache-Control",
|
||||
"Pragma",
|
||||
"WWW-Authenticate"
|
||||
],
|
||||
"expected_headers": {
|
||||
"Cache-Control": "no-cache, private",
|
||||
"Pragma": null,
|
||||
"WWW-Authenticate": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "GET /oauth/device/authorize",
|
||||
"path": "/oauth/device/authorize",
|
||||
"method": "GET",
|
||||
"expected_status": 401,
|
||||
"expected_json": {
|
||||
"/message": "Unauthenticated."
|
||||
},
|
||||
"compare_headers": [
|
||||
"Cache-Control",
|
||||
"Pragma",
|
||||
"WWW-Authenticate"
|
||||
],
|
||||
"expected_headers": {
|
||||
"Cache-Control": "no-cache, private",
|
||||
"Pragma": null,
|
||||
"WWW-Authenticate": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "POST /oauth/device/authorize",
|
||||
"path": "/oauth/device/authorize",
|
||||
"method": "POST",
|
||||
"expected_status": 419,
|
||||
"expected_json": {
|
||||
"/message": "CSRF token mismatch."
|
||||
},
|
||||
"compare_headers": [
|
||||
"Cache-Control",
|
||||
"Pragma",
|
||||
"WWW-Authenticate"
|
||||
],
|
||||
"expected_headers": {
|
||||
"Cache-Control": "no-cache, private",
|
||||
"Pragma": null,
|
||||
"WWW-Authenticate": null
|
||||
},
|
||||
"json": {}
|
||||
},
|
||||
{
|
||||
"id": "DELETE /oauth/device/authorize",
|
||||
"path": "/oauth/device/authorize",
|
||||
"method": "DELETE",
|
||||
"expected_status": 419,
|
||||
"expected_json": {
|
||||
"/message": "CSRF token mismatch."
|
||||
},
|
||||
"compare_headers": [
|
||||
"Cache-Control",
|
||||
"Pragma",
|
||||
"WWW-Authenticate"
|
||||
],
|
||||
"expected_headers": {
|
||||
"Cache-Control": "no-cache, private",
|
||||
"Pragma": null,
|
||||
"WWW-Authenticate": null
|
||||
},
|
||||
"json": {}
|
||||
},
|
||||
{
|
||||
"id": "POST /oauth/authorize",
|
||||
"path": "/oauth/authorize",
|
||||
"method": "POST",
|
||||
"expected_status": 419,
|
||||
"expected_json": {
|
||||
"/message": "CSRF token mismatch."
|
||||
},
|
||||
"compare_headers": [
|
||||
"Cache-Control",
|
||||
"Pragma",
|
||||
"WWW-Authenticate"
|
||||
],
|
||||
"expected_headers": {
|
||||
"Cache-Control": "no-cache, private",
|
||||
"Pragma": null,
|
||||
"WWW-Authenticate": null
|
||||
},
|
||||
"json": {}
|
||||
},
|
||||
{
|
||||
"id": "DELETE /oauth/authorize",
|
||||
"path": "/oauth/authorize",
|
||||
"method": "DELETE",
|
||||
"expected_status": 419,
|
||||
"expected_json": {
|
||||
"/message": "CSRF token mismatch."
|
||||
},
|
||||
"compare_headers": [
|
||||
"Cache-Control",
|
||||
"Pragma",
|
||||
"WWW-Authenticate"
|
||||
],
|
||||
"expected_headers": {
|
||||
"Cache-Control": "no-cache, private",
|
||||
"Pragma": null,
|
||||
"WWW-Authenticate": null
|
||||
},
|
||||
"json": {}
|
||||
},
|
||||
{
|
||||
"id": "POST /oauth/token/refresh",
|
||||
"path": "/oauth/token/refresh",
|
||||
"method": "POST",
|
||||
"expected_status": 419,
|
||||
"expected_json": {
|
||||
"/message": "CSRF token mismatch."
|
||||
},
|
||||
"compare_headers": [
|
||||
"Cache-Control",
|
||||
"Pragma",
|
||||
"WWW-Authenticate"
|
||||
],
|
||||
"expected_headers": {
|
||||
"Cache-Control": "no-cache, private",
|
||||
"Pragma": null,
|
||||
"WWW-Authenticate": null
|
||||
},
|
||||
"json": {}
|
||||
}
|
||||
]
|
||||
Reference in new issue
Block a user