Skip to content

Commit 00e1939

Browse files
committed
Add another IdP to test multiple IdP's on the Wayf
1 parent 2e23b70 commit 00e1939

File tree

4 files changed

+60
-5
lines changed

4 files changed

+60
-5
lines changed

core/manage/metadata_configuration/saml20_idp.schema.json

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -453,6 +453,37 @@
453453
"sibblingIndependent": true,
454454
"info": "From the pull down, select the type of contact."
455455
},
456+
"^logo:([0-9]{1}):url$": {
457+
"type": "string",
458+
"format": "url",
459+
"multiplicity": 9,
460+
"sibblingIndependent": true,
461+
"info": "Enter the URL to the logo used for this service. e.g. https://static.example-logo.nl/media/sp/logo.png."
462+
},
463+
"^logo:([0-9]{1}):width$": {
464+
"type": "number",
465+
"multiplicity": 9,
466+
"sibblingIndependent": true,
467+
"info": "The width of the logo found at logo:x:url in pixels."
468+
},
469+
"^logo:([0-9]{1}):height$": {
470+
"type": "number",
471+
"multiplicity": 9,
472+
"sibblingIndependent": true,
473+
"info": "The height of the logo found at logo:x:url in pixels."
474+
},
475+
"^DiscoveryName:([0-9]{1}):en$": {
476+
"type": "string",
477+
"multiplicity": 9,
478+
"sibblingIndependent": false,
479+
"info": "The english discovery name(s) of the Identity Provider as displayed in applications."
480+
},
481+
"^DiscoveryName:([0-9]{1}):nl$": {
482+
"type": "string",
483+
"multiplicity": 9,
484+
"sibblingIndependent": false,
485+
"info": "The dutch discovery name(s) of the Identity Provider as displayed in applications."
486+
},
456487
"^OrganizationName:(en|nl)$": {
457488
"type": "string"
458489
},

core/manage/metadata_templates/saml20_idp.template.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
"name:en": "",
1010
"OrganizationName:en": "",
1111
"SingleSignOnService:0:Binding": "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect",
12-
"SingleSignOnService:0:Location": ""
12+
"SingleSignOnService:0:Location": "",
13+
"DiscoveryName:0:en": ""
1314
},
1415
"autoRefresh": {
1516
"enabled": false,

core/scripts/mujina2.json

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"version": 0,
3+
"type": "saml20_idp",
4+
"data": {
5+
"entityid": "http://mock-idp2",
6+
"state": "prodaccepted",
7+
"allowedall": true,
8+
"metaDataFields": {
9+
"description:en": "Dummy IDP 2",
10+
"name:en": "Dummy IdP 2",
11+
"name:nl": "Dummy IdP 2",
12+
"OrganizationName:en": "OpenConext DEV",
13+
"certData": "MIIDEzCCAfugAwIBAgIJAKoK/heBjcOYMA0GCSqGSIb3DQEBBQUAMCAxHjAcBgNVBAoMFU9yZ2FuaXphdGlvbiwgQ049T0lEQzAeFw0xNTExMTExMDEyMTVaFw0yNTExMTAxMDEyMTVaMCAxHjAcBgNVBAoMFU9yZ2FuaXphdGlvbiwgQ049T0lEQzCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANBGwJ/qpTQNiSgUglSE2UzEkUow+wS8r67etxoEhlzJZfgK/k5TfG1wICDqapHAxEVgUM10aBHRctNocA5wmlHtxdidhzRZroqHwpKy2BmsKX5Z2oK25RLpsyusB1KroemgA/CjUnI6rIL1xxFn3KyOFh1ZBLUQtKNQeMS7HFGgSDAp+sXuTFujz12LFDugX0T0KB5a1+0l8y0PEa0yGa1oi6seONx849ZHxM0PRvUunWkuTM+foZ0jZpFapXe02yWMqhc/2iYMieE/3GvOguJchJt6R+cut8VBb6ubKUIGK7pmoq/TB6DVXpvsHqsDJXechxcicu4pdKVDHSec850CAwEAAaNQME4wHQYDVR0OBBYEFK7RqjoodSYVXGTVEdLf3kJflP/sMB8GA1UdIwQYMBaAFK7RqjoodSYVXGTVEdLf3kJflP/sMAwGA1UdEwQFMAMBAf8wDQYJKoZIhvcNAQEFBQADggEBADNZkxlFXh4F45muCbnQd+WmaXlGvb9tkUyAIxVL8AIu8J18F420vpnGpoUAE+Hy3evBmp2nkrFAgmr055fAjpHeZFgDZBAPCwYd3TNMDeSyMta3Ka+oS7GRFDePkMEm+kH4/rITNKUF1sOvWBTSowk9TudEDyFqgGntcdu/l/zRxvx33y3LMG5USD0x4X4IKjRrRN1BbcKgi8dq10C3jdqNancTuPoqT3WWzRvVtB/q34B7F74/6JzgEoOCEHufBMp4ZFu54P0yEGtWfTwTzuoZobrChVVBt4w/XZagrRtUCDNwRpHNbpjxYudbqLqpi1MQpV9oht/BpTHVJG2i0ro=",
14+
"SingleSignOnService:0:Binding": "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST",
15+
"coin:guest_qualifier": "None",
16+
"SingleSignOnService:0:Location": "https://mujina-idp.dev.openConext.local/SingleSignOnService"
17+
},
18+
"allowedEntities": [],
19+
"disableConsent": [],
20+
"stepupEntities": [],
21+
"mfaEntities": []
22+
}
23+
}

core/start-dev-env.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,16 +55,16 @@ while true; do
5555
# Use docker compose to start the environment but with the modified override file(s)
5656
echo -e "\nStarting the ${MODE} environment with the following command:\n"
5757

58-
echo -e "docker compose --profile oidc --profile test -f docker-compose.yml "${docker_compose_args[@]}" "${extra_compose_args}" up -d "${@:$number_of_dev_envs}"\n"
59-
docker compose --profile oidc --profile test -f docker-compose.yml ${docker_compose_args[@]} ${extra_compose_args} up -d "${@:$number_of_dev_envs}"
58+
echo -e "docker compose --profile oidc --profile test -f docker-compose.yml "${docker_compose_args[@]}" "${extra_compose_args}" up -d "${@:$number_of_dev_envs}" --pull always\n"
59+
docker compose --profile oidc --profile test -f docker-compose.yml ${docker_compose_args[@]} ${extra_compose_args} up -d "${@:$number_of_dev_envs}" --pull always
6060
break
6161
;;
6262
*)
6363
# Use docker compose to start the environment but with the modified override file(s)
6464
echo -e "Starting the ${MODE} environment with the following command:\n"
6565

66-
echo -e "docker compose --profile oidc --profile test -f docker-compose.yml "${docker_compose_args[@]}" "${extra_compose_args}" up "${@:$number_of_dev_envs}"\n"
67-
docker compose --profile oidc --profile test -f docker-compose.yml ${docker_compose_args[@]} ${extra_compose_args} up "${@:$number_of_dev_envs}"
66+
echo -e "docker compose --profile oidc --profile test -f docker-compose.yml "${docker_compose_args[@]}" "${extra_compose_args}" up "${@:$number_of_dev_envs}" --pull always\n"
67+
docker compose --profile oidc --profile test -f docker-compose.yml ${docker_compose_args[@]} ${extra_compose_args} up "${@:$number_of_dev_envs}" --pull always
6868
break
6969
;;
7070
esac

0 commit comments

Comments
 (0)