x3sphere
Active member
- Affected version
- 2.1
Not sure if this is considered a bug, but I was using the new API in XF 2.1 and the User response I get from the /auth endpoint is slightly different from that of /users. Note that I'm also passing an admin user ID in the XF-Api-User header. Is that intended?
Certain fields I would expect from the User response in /auth, like use_tfa, are missing. Yet it is present when using /users/{id} or /me
use_tfa is also listed as a column for User data type here: https://xenforo.com/community/pages/api-endpoints/#type_User
So I guess I expected it to be returned from /auth as well, with the proper permissions anyway.
Certain fields I would expect from the User response in /auth, like use_tfa, are missing. Yet it is present when using /users/{id} or /me
use_tfa is also listed as a column for User data type here: https://xenforo.com/community/pages/api-endpoints/#type_User
So I guess I expected it to be returned from /auth as well, with the proper permissions anyway.