These fields are commonly included in ID tokens provided by any OIDC (OpenID
Connect) compliant identity provider, and they contain fundamental
information about the authenticated user.
Provides basic profile information about the user.
Provides the email address of the user.
email: The user's email address.
Provides context-related information.
Provides the name of the school.
Provides a list of classes the user is associated with.
Provides a list of students with their hashed education keys.
Provides a list of teachers with their details.
Here is an example of an ID token with multiple scopes:
```json
{
"aud": [
""
],
"auth_time": 1719907242,
"central_school_number": null,
"classes": [
{
"identifier": "1",
"titel": "Astronauten AG",
"class": "11",
"start": "2023-09-26",
"end": "2024-09-07",
"info": "Neu eingestellte Astronauten absolvieren zunächst eine eineinhalbjährige Grundausbildung, wo sie sich mit Raumfahrt- und Elektrotechnik sowie verschiedenen anderen wissenschaftlichen Disziplinen vertraut machen, die für die bemannte Raumfahrt von Bedeutung sind. In einem weiteren Unterrichtsmodul lernen sie die Systeme der Internationalen Raumstation kennen.",
"enddeu": "07.09.2024"
},
{
"identifier": "12",
"titel": "Test 123",
"class": "S",
"start": "2024-04-05",
"end": "2025-04-05",
"info": " Hinweis: Alle Teilnehmer werden gebeten, Schutzkleidung zu tragen und die
Sicherheitsvorschriften strikt einzuhalten.",
"enddeu": "05.04.2025"
}
],
"context": "ANT/MP/23109940-AA0C-4116-9577-B6602B4BADA3",
"exp": 1719910843,
"family_name": "Michaelis",
"given_name": "Rene",
"iat": 1719907243,
"iss": "https://oidc.edupool.cloud/",
"jti": "14142e87-35ed-4706-9bf0-0251d238504e",
"land": "ANT",
"name": "Rene Michaelis",
"rat": 1719907242,
"role": "L",
"schoolid": "23109940-AA0C-4116-9577-B6602B4BADA3",
"schoolname": "Testschule 12",
"sid": "282cd8bc-3e71-4b50-b64e-1d9b5de3b1ee",
"sitename": "Edupool Marketplace",
"standort": "MP",
"students": {
"1": [
{
"edukey": "229f2b9d607e4b6e19f36c922821c8284693e0d31b8a7a68b0c03fbd88a62c5d",
"name": "Anna"
},
{
"edukey": "334331335e8f949d2458187a4afe330634f5114f98ba0046732176c516596767",
"name": "Miko"
},
{
"edukey": "06f475ce5b214f0aea39a2fc90178ae783bd788e0c21b1dde07360ba7780ff8d",
"name": "Maria"
},
{
"edukey": "54773812381bdd045f1b87b03b37bc3b5646c3a9af2e30ac71506593c65b1196",
"name": "Jussi"
},
{
"edukey": "d8c34d3e43d85a0709627d9c830a8e726dfa4acf8d33432742c92a5c578da1d3",
"name": "Laura"
},
{
"edukey": "8f5e472f38329e9f6da546b7c1413af22ee00da15b4938734ea488b33416bca8",
"name": "Antti"
},
{
"edukey": "93094655f21e79b7bf42c033512df092795948df34332da0da0be2910240de0a",
"name": "Sofia"
},
{
"edukey": "7426bea36ffd254328c305c3f3d85072ad12fe027b54f59f81e8144f4545ba7c",
"name": "Ville"
},
{
"edukey": "c63eb152c58fbaa4beae57e899a747f214e39ad929eef20140537f01ce410607",
"name": "Emma"
}
],
"12": [
{
"edukey": "971dd2240bc4e2372a75f91a97f68d6fe5c740320c9dbcd2eed47b331836eb20",
"name": "Biff"
},
{
"edukey": "445e9f0f556db4c8e739859c080ef34f1d1abad258faf8897125e2bc8f1277d4",
"name": "Clint"
},
{
"edukey": "4e8eb4b7a37e0b0cf17ce43d7575a7655f94490f9888feac7ef2c4eeccca9ac5",
"name": "James"
}
]
},
"sub": "242c8f66859afea2dcf47c748f09b431feb09ec28751af46afcb8a0497c28101",
"teachers": {
"rene.michaelis@antares.net": {
"classes": [
"1",
"12"
],
"name": "Michaelis"
}
}
}
```