Skip to content

Commit 29722ed

Browse files
authored
Support for AARC-G026 guideline (voPerson_id) (#157)
* Related to INDIGO IAM PR indigo-iam/iam#958
1 parent 673468e commit 29722ed

File tree

1 file changed

+28
-0
lines changed
  • content/en/docs/reference/configuration/jwt-profiles

1 file changed

+28
-0
lines changed

content/en/docs/reference/configuration/jwt-profiles/_index.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,11 +147,39 @@ In particular:
147147

148148
All the mapping rules are described in the [White Paper for implementation mappings between SAML 2.0 and OpenID Connect in Research and Education](https://docs.google.com/document/d/1b-Mlet3Lq7qKLEf1BnHJ4nL1fq-vMe7fzpXyrq2wp08/edit).
149149

150+
Moreover, the unique identifier `voPersonID` claim is available through this profile and follows the rules defined by the [AARC G026][aarc-g026] and the [voPerson v2.0][voPerson-v2.0] schema version.
151+
152+
`voPersonID` is the community unique identifier and it holds the same value as the accountID given by INDIGO IAM.
153+
This claim is currently present within the following places (given the AARC profile is enabled):
154+
155+
- ID Token
156+
- Access Token
157+
- Userinfo Response
158+
- Introspection Response
159+
160+
An example of an Access Token (produced via the Test client) is the following:
161+
162+
```json
163+
{
164+
"sub": "73f16d93-2441-4a50-88ff-85360d78c6b5",
165+
"voperson_id": "73f16d93-2441-4a50-88ff-85360d78c6b5",
166+
"iss": "http://localhost:8080",
167+
"exp": 1752744217,
168+
"iat": 1752740617,
169+
"jti": "b13a5593-2bfc-42c6-9216-9b0a280905a9",
170+
"client_id": "client"
171+
}
172+
```
173+
174+
From the example, one can see that the value from the `sub` and the `voperson_id` claim is identical.
175+
150176
This profile is assigned to clients using the `aarc` scope.
151177

152178
[system-scopes]: {{< ref "docs/reference/configuration/system-scopes" >}}
153179
[wlcg-profile]: https://zenodo.org/record/3460258
154180
[aarc-g002]: https://aarc-project.eu/guidelines/aarc-g002/
181+
[aarc-g026]: https://zenodo.org/record/5504407/files/AARC-G026%20-%20Guidelines%20for%20expressing%20community%20user%20identifiers.pdf
182+
[voPerson-v2.0]: https://github.com/voperson/voperson/blob/draft-2.0.0/voPerson.md#vopersonid-attribute-definition
155183

156184
### The Keycloak profile
157185

0 commit comments

Comments
 (0)