Skip to content

User groups vs Member roles/groups #55

Open
@redmorello

Description

Hi Matt,

I've got oauth setup and working ok. We have 2 endpoints, 1 for Members and 1 for Users.

When making a call to the Members endpoint, any member with a group/role assigned, this is returned in the payload i.e:

{
"unique_name": "[email protected]",
"realm": "website",
"nameid": "1060",
"role": "Patient",
"nbf": 1606923445,
"exp": 1606924645,
"iat": 1606923445
}

When making a call to the Users endpoint, any user with a group/role assigned, we don't get the user group returned.

{
"unique_name": "[email protected]",
"realm": "backoffice",
"nameid": "2",
"nbf": 1606923903,
"exp": 1606925103,
"iat": 1606923903
}

Is this by design, or an oauth thing? Is there anyway to get the User group returned?

Thanks Ian

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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