Open giffarda opened 2 years ago
An example with email OIDC claim and personalInformation.email CMS claim.
At root of /userinfo response, we cannot have the CMS email claim but we will have the OIDC email claim as below :
"email": "citoyen1.cms@yopmail.com"
I suggest to encapsulate CMS scopes in a cms object in order to avoid conflicts with other scopes requested :
"cms": {
"personal-information": {
"email": {
"value": "citoyen1.cms@yopmail.com",
"source": "moncomptemobilite.fr",
"certificationDate": "2022-11-08T13:44:00"
}
}
}
Indeed, this was left in a sort of undefined state in the first iteration of the standard. Your suggestion is in my opinion the right thing to do to avoid claim collisions.
To document this I suggest we should
urn:cms:*
scopes is asked, the /userinfo response must contain the cms object
According to schemas, the endpoint /userinfo can return a response like below :
@BertrandGervais @jthiard @ghislainfabmob do we want to encapsulate information by scope to more readability and avoid claim collisions between all claims used by the clients ?