You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SDK you're using (please complete the following information):
Version 9.0.0
Describe the bug
We've been going crazy trying to match the xero_userid returned by the OAuth process against an id found in the /Users endpoint since UserID is only the tenant-specific ID.
SDK you're using (please complete the following information):
Describe the bug
We've been going crazy trying to match the
xero_userid
returned by the OAuth process against an id found in the/Users
endpoint sinceUserID
is only the tenant-specific ID.It turns out that there is a
GlobalUserID
property which matchesxero_userid
, but this is neither documented at https://developer.xero.com/documentation/api/accounting/users nor is it available in the Xero.NetStandard library (Xero-NetStandard/Xero.NetStandard.OAuth2/Model/Accounting/User.cs
Line 96 in 165ed16
To Reproduce
Steps to reproduce the behavior:
AccountingClient.GetUsersAsync()
methodGlobalUserID
is nowhere to be seen.Expected behavior
The
GlobalUserID
property should be in theUser
object alongsideUserID
Screenshots
Additional context
Both library and documentation are out-of-date
The text was updated successfully, but these errors were encountered: