ging / fiware-idm

OAuth 2.0-based authentication of users and devices, user profile management, Single Sign-On (SSO) and Identity Federation across multiple administration domains.
https://keyrock-fiware.github.io
MIT License
36 stars 81 forks source link

Explanation needed regarding External Participant Config #337

Open MarkusPfundstein opened 1 year ago

MarkusPfundstein commented 1 year ago

Hi everyone,

I am trying to configure Keyrock to act as an AR. However I have some trouble getting the config right. The docs are not really helpful.

Assume the config.pr:

config.pr = {
    url: "https://mw.i4trustsat.ishareworks.nl",
    id: "EU.EORI.NLi4TRUSTSAT",
    parties_endpoint: undefined,
    token_endpoint: undefined,
    client_id: "EU.EORI.NL03000023",
    client_key: undefined,
    client_crt: undefined
}

My questions:

Thanks Markus

MarkusPfundstein commented 1 year ago

So far I figured out that client_key and client_crt must look as follows:

client_key: "-----BEGIN PRIVATE KEY-----\n<YOUR PRIVATE KEY\n-----END PRIVATE KEY-----", client_crt: "-----BEGIN CERTIFICATE-----\n<YOUR CERT\n-----END CERTIFICATE-----"

I assume its from the Entitled Party. Could that be?