Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User groups vs Member roles/groups #55

Open
redmorello opened this issue Dec 2, 2020 · 0 comments
Open

User groups vs Member roles/groups #55

redmorello opened this issue Dec 2, 2020 · 0 comments

Comments

@redmorello
Copy link

redmorello commented Dec 2, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant