Skip to content

Commit a46fddb

Browse files
committed
ready to pull req
1 parent 47ba1ca commit a46fddb

File tree

3 files changed

+17
-20
lines changed

3 files changed

+17
-20
lines changed

demo-tornado/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
#Tornado Demo#
1+
# Tornado Demo #
22
Fully-working tornado-demo.
33

4-
###ABOUT ISSUE###
4+
### About issues ###
55
This is only a demo, some issues about session still remain.
66
Actually the session is global.
77

8-
###PRODUCTION###
8+
### Production ###
99
Remember to disable debugging in production.

demo-tornado/saml/advanced_settings.json

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,12 @@
11
{
22
"security": {
33
"nameIdEncrypted": false,
4-
"authnRequestsSigned": true,
5-
"logoutRequestSigned": true,
6-
"logoutResponseSigned": true,
7-
"signMetadata": {
8-
"keyFileName": "metadata.key",
9-
"certFileName": "metadata.crt"
10-
},
4+
"authnRequestsSigned": false,
5+
"logoutRequestSigned": false,
6+
"logoutResponseSigned": false,
7+
"signMetadata": false,
118
"wantMessagesSigned": false,
12-
"wantAssertionsSigned": true,
9+
"wantAssertionsSigned": false,
1310
"wantNameId" : true,
1411
"wantNameIdEncrypted": false,
1512
"wantAssertionsEncrypted": false,
@@ -33,4 +30,4 @@
3330
"url": "http://sp.example.com"
3431
}
3532
}
36-
}
33+
}

demo-tornado/saml/settings.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,29 +2,29 @@
22
"strict": true,
33
"debug": true,
44
"sp": {
5-
"entityId": "http://localhost:8000/metadata/",
5+
"entityId": "https://<sp_domain>/metadata/",
66
"assertionConsumerService": {
7-
"url": "http://localhost:8000/?acs",
7+
"url": "https://<sp_domain>/?acs",
88
"binding": "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST"
99
},
1010
"singleLogoutService": {
11-
"url": "http://localhost:8000/?sls",
11+
"url": "https://<sp_domain>/?sls",
1212
"binding": "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect"
1313
},
1414
"NameIDFormat": "urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified",
1515
"x509cert": "",
1616
"privateKey": ""
1717
},
1818
"idp": {
19-
"entityId": "http://localhost:8080/auth/realms/idp_dacd",
19+
"entityId": "https://app.onelogin.com/saml/metadata/<onelogin_connector_id>",
2020
"singleSignOnService": {
21-
"url": "http://localhost:8080/auth/realms/idp_dacd/protocol/saml",
21+
"url": "https://app.onelogin.com/trust/saml2/http-post/sso/<onelogin_connector_id>",
2222
"binding": "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect"
2323
},
2424
"singleLogoutService": {
25-
"url": "http://localhost:8080/auth/realms/idp_dacd/protocol/saml",
25+
"url": "https://app.onelogin.com/trust/saml2/http-redirect/slo/<onelogin_connector_id>",
2626
"binding": "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect"
2727
},
28-
"x509cert": "MIICnzCCAYcCBgFqC3f1FDANBgkqhkiG9w0BAQsFADATMREwDwYDVQQDDAhpZHBfZGFjZDAeFw0xOTA0MTEwODE0MzJaFw0yOTA0MTEwODE2MTJaMBMxETAPBgNVBAMMCGlkcF9kYWNkMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAuhRERlbbwUxabS4lnGFOpxBKACpcwQwOSvyCKD3bLDvzfQIRh1x3RDq+6xxBcdP86PKRYjwZc/64HYFUbe9FCDLf1SDQz7XTtpftydRrTUydVaj+3FHhyCLcLkJldMVneVMZWIXSzUISvcURL3sr6HVJ74Uy0KPPOo3vQQ6RRaNaB3RCdZaNbzxjbG5eBgSvWHGE+vkozHpS7y6LHXDP1wXenH65RRrat8PQ/Qp4WVi2U5rVfA2SFbcwohjaJ+vOYH+oARnk5a2IosAMHBtONorPnPrcV7MqUXX7q19hnlFRZA34YVcF6kkWWsS1V/mRm2kK6EE/mABvX4mrefWg+QIDAQABMA0GCSqGSIb3DQEBCwUAA4IBAQARKkt9TKg5jLLc7HZSYxHD0MGqDQ8jMAXjpYYaEoIGyYnE31WOEG6HlzHFrkp5ioBT8vTIfejpGGkcL0qspSjQRBYH1eHOEToFo2vhmr0yDUtePNVcQtRN0ImAwNvKU/PciSi4dX0Y8Z/VfeRn8k979o0X82xZSYIxLhKlFp9toOHz0pNTU0Ie4h1zxcPd0L7KAn5eQPHoJwXsdWkM9aoZtCQCjbiexpfOdEOfnUn8QisinAWqcC/gKl9XG7XU4P5cevTeqZgnK0W+ilJVkkJX2zZWlAji+0PKLGr3BgJCfkwUcsm1C8U2ysTGkW1mZHfKVzK2NPA0bSlGgZwbvki+"
28+
"x509cert": "<onelogin_connector_cert>"
2929
}
30-
}
30+
}

0 commit comments

Comments
 (0)