-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
270fad9
commit 2f8409c
Showing
12 changed files
with
2,978 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
180 changes: 180 additions & 0 deletions
180
...achtigenCallbackTests.test_digid_error_reported_for_cancelled_login_anon_django_user.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,180 @@ | ||
interactions: | ||
- request: | ||
body: null | ||
headers: | ||
Accept: | ||
- '*/*' | ||
Accept-Encoding: | ||
- gzip, deflate, br | ||
Connection: | ||
- keep-alive | ||
User-Agent: | ||
- python-requests/2.31.0 | ||
method: GET | ||
uri: http://localhost:8080/realms/test/protocol/openid-connect/auth | ||
response: | ||
body: | ||
string: "<!DOCTYPE html>\n<html class=\"login-pf\">\n\n<head>\n <meta charset=\"utf-8\">\n | ||
\ <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" | ||
/>\n <meta name=\"robots\" content=\"noindex, nofollow\">\n\n <meta | ||
name=\"viewport\" content=\"width=device-width,initial-scale=1\"/>\n <title>Sign | ||
in to test</title>\n <link rel=\"icon\" href=\"/resources/883g6/login/keycloak/img/favicon.ico\" | ||
/>\n <link href=\"/resources/883g6/common/keycloak/node_modules/@patternfly/patternfly/patternfly.min.css\" | ||
rel=\"stylesheet\" />\n <link href=\"/resources/883g6/common/keycloak/node_modules/patternfly/dist/css/patternfly.min.css\" | ||
rel=\"stylesheet\" />\n <link href=\"/resources/883g6/common/keycloak/node_modules/patternfly/dist/css/patternfly-additions.min.css\" | ||
rel=\"stylesheet\" />\n <link href=\"/resources/883g6/common/keycloak/lib/pficon/pficon.css\" | ||
rel=\"stylesheet\" />\n <link href=\"/resources/883g6/login/keycloak/css/login.css\" | ||
rel=\"stylesheet\" />\n</head>\n\n<body class=\"\">\n<div class=\"login-pf-page\">\n | ||
\ <div id=\"kc-header\" class=\"login-pf-page-header\">\n <div id=\"kc-header-wrapper\"\n | ||
\ class=\"\">test</div>\n </div>\n <div class=\"card-pf\">\n | ||
\ <header class=\"login-pf-header\">\n <h1 id=\"kc-page-title\"> | ||
\ We are sorry...\n</h1>\n </header>\n <div id=\"kc-content\">\n | ||
\ <div id=\"kc-content-wrapper\">\n\n\n <div id=\"kc-error-message\">\n | ||
\ <p class=\"instruction\">Invalid Request</p>\n </div>\n\n\n\n | ||
\ </div>\n </div>\n\n </div>\n </div>\n</body>\n</html>\n" | ||
headers: | ||
Content-Language: | ||
- en | ||
Content-Security-Policy: | ||
- frame-src 'self'; frame-ancestors 'self'; object-src 'none'; | ||
Content-Type: | ||
- text/html;charset=utf-8 | ||
Referrer-Policy: | ||
- no-referrer | ||
Strict-Transport-Security: | ||
- max-age=31536000; includeSubDomains | ||
X-Content-Type-Options: | ||
- nosniff | ||
X-Frame-Options: | ||
- SAMEORIGIN | ||
X-Robots-Tag: | ||
- none | ||
X-XSS-Protection: | ||
- 1; mode=block | ||
content-length: | ||
- '1573' | ||
status: | ||
code: 400 | ||
message: Bad Request | ||
- request: | ||
body: null | ||
headers: | ||
Accept: | ||
- '*/*' | ||
Accept-Encoding: | ||
- gzip, deflate, br | ||
Connection: | ||
- keep-alive | ||
User-Agent: | ||
- python-requests/2.31.0 | ||
method: GET | ||
uri: http://localhost:8080/realms/test/protocol/openid-connect/auth?response_type=code&scope=badscope&client_id=testid&redirect_uri=http%3A%2F%2Ftestserver%2Fdigid-machtigen-oidc%2Fcallback%2F&state=not-a-random-string&nonce=not-a-random-string | ||
response: | ||
body: | ||
string: '' | ||
headers: | ||
Location: | ||
- http://testserver/digid-machtigen-oidc/callback/?error=invalid_scope&error_description=Invalid+scopes%3A+badscope&state=not-a-random-string&iss=http%3A%2F%2Flocalhost%3A8080%2Frealms%2Ftest | ||
Referrer-Policy: | ||
- no-referrer | ||
Strict-Transport-Security: | ||
- max-age=31536000; includeSubDomains | ||
X-Content-Type-Options: | ||
- nosniff | ||
X-XSS-Protection: | ||
- 1; mode=block | ||
content-length: | ||
- '0' | ||
status: | ||
code: 302 | ||
message: Found | ||
- request: | ||
body: null | ||
headers: | ||
Accept: | ||
- '*/*' | ||
Accept-Encoding: | ||
- gzip, deflate, br | ||
Connection: | ||
- keep-alive | ||
User-Agent: | ||
- python-requests/2.31.0 | ||
method: GET | ||
uri: http://localhost:8080/realms/test/protocol/openid-connect/auth | ||
response: | ||
body: | ||
string: "<!DOCTYPE html>\n<html class=\"login-pf\">\n\n<head>\n <meta charset=\"utf-8\">\n | ||
\ <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" | ||
/>\n <meta name=\"robots\" content=\"noindex, nofollow\">\n\n <meta | ||
name=\"viewport\" content=\"width=device-width,initial-scale=1\"/>\n <title>Sign | ||
in to test</title>\n <link rel=\"icon\" href=\"/resources/1rz7o/login/keycloak/img/favicon.ico\" | ||
/>\n <link href=\"/resources/1rz7o/common/keycloak/node_modules/@patternfly/patternfly/patternfly.min.css\" | ||
rel=\"stylesheet\" />\n <link href=\"/resources/1rz7o/common/keycloak/node_modules/patternfly/dist/css/patternfly.min.css\" | ||
rel=\"stylesheet\" />\n <link href=\"/resources/1rz7o/common/keycloak/node_modules/patternfly/dist/css/patternfly-additions.min.css\" | ||
rel=\"stylesheet\" />\n <link href=\"/resources/1rz7o/common/keycloak/lib/pficon/pficon.css\" | ||
rel=\"stylesheet\" />\n <link href=\"/resources/1rz7o/login/keycloak/css/login.css\" | ||
rel=\"stylesheet\" />\n</head>\n\n<body class=\"\">\n<div class=\"login-pf-page\">\n | ||
\ <div id=\"kc-header\" class=\"login-pf-page-header\">\n <div id=\"kc-header-wrapper\"\n | ||
\ class=\"\">test</div>\n </div>\n <div class=\"card-pf\">\n | ||
\ <header class=\"login-pf-header\">\n <h1 id=\"kc-page-title\"> | ||
\ We are sorry...\n</h1>\n </header>\n <div id=\"kc-content\">\n | ||
\ <div id=\"kc-content-wrapper\">\n\n\n <div id=\"kc-error-message\">\n | ||
\ <p class=\"instruction\">Invalid Request</p>\n </div>\n\n\n\n | ||
\ </div>\n </div>\n\n </div>\n </div>\n</body>\n</html>\n" | ||
headers: | ||
Content-Language: | ||
- en | ||
Content-Security-Policy: | ||
- frame-src 'self'; frame-ancestors 'self'; object-src 'none'; | ||
Content-Type: | ||
- text/html;charset=utf-8 | ||
Referrer-Policy: | ||
- no-referrer | ||
Strict-Transport-Security: | ||
- max-age=31536000; includeSubDomains | ||
X-Content-Type-Options: | ||
- nosniff | ||
X-Frame-Options: | ||
- SAMEORIGIN | ||
X-Robots-Tag: | ||
- none | ||
X-XSS-Protection: | ||
- 1; mode=block | ||
content-length: | ||
- '1573' | ||
status: | ||
code: 400 | ||
message: Bad Request | ||
- request: | ||
body: null | ||
headers: | ||
Accept: | ||
- '*/*' | ||
Accept-Encoding: | ||
- gzip, deflate, br | ||
Connection: | ||
- keep-alive | ||
User-Agent: | ||
- python-requests/2.31.0 | ||
method: GET | ||
uri: http://localhost:8080/realms/test/protocol/openid-connect/auth?response_type=code&scope=badscope&client_id=testid&redirect_uri=http%3A%2F%2Ftestserver%2Fdigid-machtigen-oidc%2Fcallback%2F&state=not-a-random-string&nonce=not-a-random-string | ||
response: | ||
body: | ||
string: '' | ||
headers: | ||
Location: | ||
- http://testserver/digid-machtigen-oidc/callback/?error=invalid_scope&error_description=Invalid+scopes%3A+badscope&state=not-a-random-string&iss=http%3A%2F%2Flocalhost%3A8080%2Frealms%2Ftest | ||
Referrer-Policy: | ||
- no-referrer | ||
Strict-Transport-Security: | ||
- max-age=31536000; includeSubDomains | ||
X-Content-Type-Options: | ||
- nosniff | ||
X-XSS-Protection: | ||
- 1; mode=block | ||
content-length: | ||
- '0' | ||
status: | ||
code: 302 | ||
message: Found | ||
version: 1 |
Oops, something went wrong.