umbraco-authu
umbraco-authu copied to clipboard
User groups vs Member roles/groups
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