Skip to content

Custom userInfo properties #119

@ploef

Description

@ploef

Hi,

The userinfo of my IdP looks like this:

{
    "name": "xxxxxxxxxxxxx",
    "given_name": "xxxxxxxxxxxxx",
    "family_name": "xxxxxxxxxxxxx",
    "email": "xxxxxxxxxxxxx",
    "uid": [
        "xxxxxxxxxxxxx"
    ],
    "eduperson_entitlement": [
        "xxxxxxxxxxxxx",
        "xxxxxxxxxxxxx"        
    ],
    "eduperson_principal_name": [
        "xxxxxxxxxxxxx"
    ],
    "eduperson_scoped_affiliation": [
        "xxxxxxxxxxxxx"
    ],
    "voperson_external_affiliation": [
        "xxxxxxxxxxxxx"
    ],
    "voperson_external_id": [
        "xxxxxxxxxxxxx"
    ],
    "voperson_id": [
        "xxxxxxxxxxxxx"
    ],
    "ssh_public_key": [],
    "sub": "xxxxxxxxxxxxx"
}

Some of the properties do not map with the standard properties of profile. Especially the "eduperson_entitlement" property is important for me because it contains the roles/groups the user is a member of. Is there any way to get the contents of those custom properties?

As a side note, I'm using this module in Node-Red for doing the OIDC authentication.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions