OpenID Connect Integration
Attribute Based Authorisation
Specific attributes can be utilised to make authorisation decisions within an application.
Below is an example of the ID Token attributes that are provided by the AAF OpenID Provider and translated to OpenID Connect:
{
"sub": "YAdr3eQkhvnHrtOcdnOl4cFRdYnOmKoP4523eh45y89",
"name": "John Doe",
"given_name": "John",
"family_name": "Doe",
"preferred_username": "jdoe",
"email": "john.doe@uni.edu.au",
"phone_number": "+61 412 345 678",
"au_edu_person_shared_token": "BG67eQkhvnHrtOcdnOl4cFRdYnO",
"edu_person_affiliation": [
"affiliate"
],
"edu_person_assurance": [
"urn:mace:uni.edu.au:iap:id:1",
"urn:mace:uni.edu.au:iap:authn:1"
],
"edu_person_entitlement": [
""
],
"edu_person_orcid": "0000-0000-0000-0000",
"edu_person_principal_name": "jdoe@hsww.wiz.edu.au",
"edu_person_scoped_affiliation": [
"faculty@hsww.wiz.edu.au"
],
"schac_home_organization": "hsww.wiz",
"iss": "https://hsww.wiz.edu.au",
"aud": "b56y89re-4w32-2c5r-0b3q-1a2s3d4f5g6h",
"exp": 1234567890,
"iat": 1234567890,
"auth_time": 1234567890,
"azp": "b56y89re-4w32-2c5r-0b3q-1a2s3d4f5g6h",
"nonce": "6oP4523eh45y89re4w322c5r0b3q1e1e"
}
For a live example of attribute release for your institution, sign in to the AAF OpenID Connect Demo App.
The relevant attributes that can be utilised for authorisation by a Service Provider (SP) include:
Attribute Name | Notes on Usage |
---|---|
eduPersonEntitlement |
|
eduPersonAffiliation |
|
eduPersonScopedAffiliation |
|
schacHomeOrganization |
|
|