Skip to content

Commit 0f2dacf

Browse files
committed
WIP
1 parent 7373d0c commit 0f2dacf

File tree

4 files changed

+259
-0
lines changed

4 files changed

+259
-0
lines changed
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
[
2+
{
3+
"_id": "1",
4+
"version": 0,
5+
"type": "saml20_idp",
6+
"revision": {
7+
"number": 0,
8+
"created": 1527163768861,
9+
"updatedBy": "urn:collab:person:example.com:admin"
10+
},
11+
"data": {
12+
"id": 1,
13+
"eid": 1,
14+
"entityid": "http://mock-idp",
15+
"revisionid": 0,
16+
"state": "prodaccepted",
17+
"stepupEntities": [
18+
{
19+
"name": "https://test-sp-1",
20+
"level": "http://test2.surfconext.nl/assurance/loa2"
21+
}
22+
],
23+
"type": "saml20-idp",
24+
"metadataurl": "https://mock-idp/metadata",
25+
"allowedall": false,
26+
"manipulation": null,
27+
"user": "admin",
28+
"created": "2018-03-28T17:15:51+02:00",
29+
"revisionnote": "Dummy",
30+
"active": true,
31+
"notes": null,
32+
"metaDataFields": {
33+
"displayName:nl": "Mock IdP",
34+
"coin:institution_id": "MOCK",
35+
"description:en": "Mock IdP description",
36+
"OrganizationName:en": "Mock IdP",
37+
"description:nl": "Mock IdP omschrijving",
38+
"logo:0:width": "200",
39+
"logo:0:url": "https://static.surfconext.nl/logos/idp/eur.png",
40+
"name:en": "Mock IdP",
41+
"contacts:0:givenName": "John",
42+
"SingleSignOnService:0:Binding": "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect",
43+
"contacts:0:surName": "Doe",
44+
"SingleSignOnService:1:Binding": "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST",
45+
"contacts:0:emailAddress": "[email protected]",
46+
"keywords:0:en": "mock",
47+
"contacts:0:contactType": "technical",
48+
"redirect.sign": "0",
49+
"coin:guest_qualifier": "None",
50+
"coin:publish_in_edugain": "0",
51+
"logo:0:height": "160",
52+
"coin:institution_guid": "5D25C67F-975D-4F16-B9F3-58BE976A76C2",
53+
"keywords:0:nl": "mock",
54+
"OrganizationDisplayName:en": "Mock Idp Org",
55+
"name:nl": "Mock Id{",
56+
"OrganizationURL:en": "http://mock-idp/",
57+
"displayName:en": "Mock-idp",
58+
"contacts:3:contactType": "technical",
59+
"SingleSignOnService:0:Location": "https://mock-idp/sso"
60+
},
61+
"allowedEntities": [
62+
{
63+
"name": "http://mock-sp"
64+
}
65+
],
66+
"disableConsent": []
67+
}
68+
}
69+
]
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
[
2+
{
3+
"_id": "2",
4+
"version": 0,
5+
"type": "oidc10_rp",
6+
"revision": {
7+
"number": 0,
8+
"created": 1562231716722,
9+
"updatedBy": "urn:collab:person:example.com:admin"
10+
},
11+
"data": {
12+
"entityid": "playground_client",
13+
"state": "prodaccepted",
14+
"allowedall": true,
15+
"arp": {
16+
"enabled": false,
17+
"attributes": {}
18+
},
19+
"metaDataFields": {
20+
"name:en": "Playground Client",
21+
"secret": "$2a$10$KDkFwwFy72EaSYwB6dfXNunG438w/FTEFXE30H2rHBn.W2mZmadsO",
22+
"redirectUrls": [
23+
"http://localhost:3000/redirect"
24+
],
25+
"scopes": [
26+
"groups",
27+
"openid"
28+
],
29+
"grants": [
30+
"authorization_code",
31+
"implicit",
32+
"refresh_token",
33+
"client_credentials"
34+
],
35+
"accessTokenValidity": 7200,
36+
"refreshTokenValidity": 7200,
37+
"isResourceServer": true,
38+
"isPublicClient": true,
39+
"oidc:signingCertificateUrl": "https://oidc-playground.test2.surfconext.nl/oidc/api/certs",
40+
"description:en": "Playground client - do not edit please",
41+
"NameIDFormat": "urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified"
42+
},
43+
"allowedEntities": [],
44+
"revisionnote": "Public client",
45+
"eid": 24541,
46+
"discoveryurl": "https://discovery",
47+
"allowedResourceServers": [
48+
{
49+
"name": "resource-server-playground-client"
50+
}
51+
]
52+
}
53+
}
54+
]
Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
[
2+
{
3+
"_id": "4",
4+
"version": 0,
5+
"type": "saml20_sp",
6+
"revision": {
7+
"number": 0,
8+
"created": 1527254720273,
9+
"updatedBy": "admin"
10+
},
11+
"data": {
12+
"id": 4,
13+
"eid": 4,
14+
"entityid": "http://mock-sp",
15+
"revisionid": 0,
16+
"state": "prodaccepted",
17+
"type": "saml20-sp",
18+
"allowedall": false,
19+
"manipulation": null,
20+
"user": "admin",
21+
"created": "2017-12-17T23:38:54+01:00",
22+
"revisionnote": "Mock",
23+
"active": true,
24+
"arp": {
25+
"attributes": {
26+
"urn:mace:dir:attribute-def:displayName": [
27+
{
28+
"source": "idp",
29+
"value": "*"
30+
}
31+
],
32+
"urn:mace:dir:attribute-def:uid": [
33+
{
34+
"source": "idp",
35+
"value": "*"
36+
}
37+
]
38+
},
39+
"enabled": true
40+
},
41+
"notes": null,
42+
"metaDataFields": {
43+
"AssertionConsumerService:1:index": "4",
44+
"displayName:nl": "Mock SP",
45+
"coin:institution_id": "SURFCONEXT",
46+
"AssertionConsumerService:2:Location": "https://mock.acs",
47+
"description:en": "Mock SP",
48+
"AssertionConsumerService:2:Binding": "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST",
49+
"description:nl": "Mock SP",
50+
"logo:0:width": "200",
51+
"logo:0:url": "https://static.surfconext.nl/media/sp/SURFnetdienst.png",
52+
"name:en": "Mock SP",
53+
"contacts:0:givenName": "SURF",
54+
"contacts:0:surName": "john",
55+
"AssertionConsumerService:0:Location": "https://mock-sp",
56+
"contacts:0:contactType": "technical",
57+
"redirect.sign": "0",
58+
"logo:0:height": "160",
59+
"coin:institution_guid": "ad93daef-0911-e511-80d0-005056956c1a",
60+
"coin:policy_enforcement_decision_required": "1",
61+
"name:nl": "Mock SP",
62+
"AssertionConsumerService:1:Binding": "urn:oasis:names:tc:SAML:2.0:bindings:PAOS",
63+
"NameIDFormat": "urn:oasis:names:tc:SAML:2.0:nameid-format:persistent",
64+
"AssertionConsumerService:0:Binding": "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Artifact",
65+
"AssertionConsumerService:1:Location": "https://mocp-sp/",
66+
"AssertionConsumerService:2:index": "5",
67+
"displayName:en": "Mock SP",
68+
"coin:privacy:gdpr_is_in_wiki": "0",
69+
"coin:ss:license_status": "license_not_required",
70+
"coin:ss:supports_strong_authentication": "0"
71+
},
72+
"allowedEntities": [
73+
{
74+
"name": "http://mock-idp"
75+
}
76+
]
77+
}
78+
}]
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
[
2+
{
3+
"_id": "3",
4+
"version": 0,
5+
"type": "single_tenant_template",
6+
"revision": {
7+
"number": 0,
8+
"created": 1527254712082,
9+
"updatedBy": "auto-generated"
10+
},
11+
"data": {
12+
"eid": 3,
13+
"entityid": "https://dummy/Single-tenant-service_op-aanvraag",
14+
"state": "prodaccepted",
15+
"arp": {
16+
"attributes": {
17+
"urn:mace:dir:attribute-def:displayName": [
18+
{
19+
"source": "idp",
20+
"value": "*"
21+
}
22+
],
23+
"urn:mace:dir:attribute-def:uid": [
24+
{
25+
"source": "idp",
26+
"value": "*"
27+
}
28+
],
29+
"urn:mace:dir:attribute-def:eduPersonAffiliation": [
30+
{
31+
"source": "idp",
32+
"value": "*"
33+
}
34+
],
35+
"urn:mace:dir:attribute-def:mail": [
36+
{
37+
"source": "idp",
38+
"value": "*"
39+
}
40+
]
41+
},
42+
"enabled": true
43+
},
44+
"metaDataFields": {
45+
"description:en": "Single Tenant Dummy.",
46+
"description:nl": "Single Tenant Dummy",
47+
"displayName:en": "Single Tenant Dummy",
48+
"displayName:nl": "Single Tenant Dummy",
49+
"logo:0:url": "https://static.surfconext.nl/media/sp/eduid.png",
50+
"name:en": "Single Tenant Dummy",
51+
"name:nl": "Single Tenant Dummy",
52+
"contacts:0:contactType": "technical",
53+
"contacts:0:emailAddress": "[email protected]",
54+
"contacts:1:contactType": "administrative"
55+
}
56+
}
57+
}
58+
]

0 commit comments

Comments
 (0)