Skip to content

Commit 0598490

Browse files
committed
Merge with master
2 parents a049d09 + 5a1457b commit 0598490

File tree

24 files changed

+325
-98
lines changed

24 files changed

+325
-98
lines changed

.github/workflows/test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ jobs:
210210
runs-on: ubuntu-latest
211211
env:
212212
SUITE_BASE_URL: https://localhost.emobix.co.uk:8443
213-
VERSION: release-v4.1.45
213+
VERSION: release-v5.1.35
214214
steps:
215215
- uses: actions/checkout@v4
216216
with:

CONFORMANCE_TEST.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@ Clone the conformance test git repo, build the software and run it.
1414
```bash
1515
git clone https://gitlab.com/openid/conformance-suite.git
1616
cd conformance-suite
17-
# Version 4.1.10 has a bug when building
18-
git checkout release-v4.1.45
17+
git checkout release-v5.1.35
1918
MAVEN_CACHE=./m2 docker-compose -f builder-compose.yml run builder
2019
docker-compose up
2120
```

UPGRADE.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,15 @@ and optionally a port (as in all previous module versions).
5454
- signer algorithm
5555
- entity statement duration
5656
- organization name
57+
- display name
58+
- description
59+
- keywords
5760
- contacts
5861
- logo URI
5962
- policy URI
60-
- homepage URI
63+
- information URI
64+
- homepage URI (renamed to organization_uri in draft-43)
65+
- organization URI
6166

6267
## Major impact changes
6368

config/module_oidc.php.dist

Lines changed: 22 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -386,20 +386,20 @@ $config = [
386386
// 'eyJ...GHg',
387387
],
388388

389-
// (optional) Federation Trust Marks for dynamic fetching. An array of key-value pairs, where key is Trust Mark ID
390-
// and value is Trust Mark Issuer ID, each representing a Trust Mark issued to this entity. Each Trust Mark ID
391-
// in this array will be dynamically fetched from noted Trust Mark Issuer as necessary. If federation caching
392-
// is enabled (recommended), fetched Trust Marks will also be cached until their expiry.
389+
// (optional) Federation Trust Marks for dynamic fetching. An array of key-value pairs, where key is Trust Mark Type
390+
// and value is Trust Mark Issuer ID, each representing a Trust Mark issued to this entity. Each Trust Mark Type
391+
// in this array will be dynamically fetched from the noted Trust Mark Issuer as necessary. If federation
392+
// caching is enabled (recommended), fetched Trust Marks will also be cached until their expiry.
393393
ModuleConfig::OPTION_FEDERATION_DYNAMIC_TRUST_MARKS => [
394-
// 'trust-mark-id' => 'trust-mark-issuer-id',
394+
// 'trust-mark-type' => 'trust-mark-issuer-id',
395395
],
396396

397397
// (optional) Federation participation limit by Trust Marks. This is an array with the following format:
398398
// [
399399
// 'trust-anchor-id' => [
400400
// 'limit-id' => [
401-
// 'trust-mark-id',
402-
// 'trust-mark-id-2',
401+
// 'trust-mark-type',
402+
// 'trust-mark-type-2',
403403
// ],
404404
// ],
405405
// ],
@@ -410,13 +410,13 @@ $config = [
410410
'https://ta.example.org/' => [
411411
// Entities must have (at least) one Trust Mark from the list below.
412412
\SimpleSAML\Module\oidc\Codebooks\LimitsEnum::OneOf->value => [
413-
'trust-mark-id',
414-
'trust-mark-id-2',
413+
'trust-mark-type',
414+
'trust-mark-type-2',
415415
],
416416
// Entities must have all Trust Marks from the list below.
417417
\SimpleSAML\Module\oidc\Codebooks\LimitsEnum::AllOf->value => [
418-
'trust-mark-id-3',
419-
'trust-mark-id-4',
418+
'trust-mark-type-3',
419+
'trust-mark-type-4',
420420
],
421421
],
422422
],
@@ -482,11 +482,22 @@ $config = [
482482
// Common federation entity parameters:
483483
// https://openid.net/specs/openid-federation-1_0.html#name-common-metadata-parameters
484484
ModuleConfig::OPTION_ORGANIZATION_NAME => null,
485+
ModuleConfig::OPTION_DISPLAY_NAME => null,
486+
ModuleConfig::OPTION_DESCRIPTION => null,
487+
ModuleConfig::OPTION_KEYWORDS => [
488+
// 'some-keyword',
489+
],
485490
ModuleConfig::OPTION_CONTACTS => [
486491
// 'John Doe [email protected]',
487492
],
488493
ModuleConfig::OPTION_LOGO_URI => null,
489494
ModuleConfig::OPTION_POLICY_URI => null,
495+
ModuleConfig::OPTION_INFORMATION_URI => null,
496+
ModuleConfig::OPTION_ORGANIZATION_URI => null,
497+
/**
498+
* @deprecated In Draft-43 of OIDFed specification, metadata claim 'homepage_uri' has been renamed to
499+
* 'organization_uri'. Use 'organization_uri' instead.
500+
*/
490501
ModuleConfig::OPTION_HOMEPAGE_URI => null,
491502

492503

locales/en/LC_MESSAGES/oidc.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@ msgstr ""
491491
msgid "Trust Anchors"
492492
msgstr ""
493493

494-
msgid "Trust Mark ID"
494+
msgid "Trust Mark Type"
495495
msgstr ""
496496

497497
msgid ""

locales/es/LC_MESSAGES/oidc.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@ msgstr ""
491491
msgid "Trust Anchors"
492492
msgstr ""
493493

494-
msgid "Trust Mark ID"
494+
msgid "Trust Mark Type"
495495
msgstr ""
496496

497497
msgid ""

locales/fr/LC_MESSAGES/oidc.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@ msgstr ""
491491
msgid "Trust Anchors"
492492
msgstr ""
493493

494-
msgid "Trust Mark ID"
494+
msgid "Trust Mark Type"
495495
msgstr ""
496496

497497
msgid ""

locales/hr/LC_MESSAGES/oidc.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,7 @@ msgstr "IDevi sidra povjerenja"
525525
msgid "Trust Anchors"
526526
msgstr "Sidra povjerenja"
527527

528-
msgid "Trust Mark ID"
528+
msgid "Trust Mark Type"
529529
msgstr "ID oznake povjerenja"
530530

531531
msgid ""

locales/it/LC_MESSAGES/oidc.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@ msgstr ""
491491
msgid "Trust Anchors"
492492
msgstr ""
493493

494-
msgid "Trust Mark ID"
494+
msgid "Trust Mark Type"
495495
msgstr ""
496496

497497
msgid ""

locales/nl/LC_MESSAGES/oidc.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ msgstr "Vertrouwde anker-ID's"
459459
msgid "Trust Anchors"
460460
msgstr "Vertrouw op ankers"
461461

462-
msgid "Trust Mark ID"
462+
msgid "Trust Mark Type"
463463
msgstr "Vertrouwensmerk-ID"
464464

465465
msgid "Trust Mark validation passed (there were no warnings or errors during validation)."

0 commit comments

Comments
 (0)