Skip to content

Commit d8bd0c3

Browse files
committed
fix after review
1 parent 8a4f151 commit d8bd0c3

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

edc-extensions/cx-oauth2/README.md

+14
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,17 @@ Instead of the `idsc:IDS_CONNECTORS_ALL` the connector requests a specific audie
3131
When a connector receives a message, it will checks the token audience is equal to the configured value in `edc.ids.endpoint.audience`.
3232

3333
![sequence diagram](./diagrams/sequence.png)
34+
35+
## Catena-X Participant Extension
36+
37+
Starting from `0.0.1-milestone-9` EDC requires a mandatory setting `edc.participant.id`, which in this case should be the BPN number which is transmitted over the wire to identifying the participants IDs.
38+
To verify that in the DAPS token an extension has been created, that extract from the `ClaimToken` the BPN number and then EDC compare that identity with the one provided over the wire, for security reason.
39+
40+
By default the extension parse the `referringConnector` url and extract the BPN number as the last parameter in the URL eg (http://sokrates-controlplane/BPNSOKRATES).
41+
42+
### Configuration
43+
44+
| Key | Description | Mandatory | Default |
45+
|:--------------------------------------|:----------------------------------------------------------|-----------|---------------|
46+
| tx.participant.id.regex | Regex for extracting the BPN from the referringConnector | | [^/]+(?=/$|$) |
47+
| tx.participant.id.regexGroup | Group number for the regex match | | 0 |

0 commit comments

Comments
 (0)