Aha - I was calling /users/blake.erickson.json (no /admin) which also returns a user object, but without single_sign_on_record.
Hey, why is it that the /users/ endpoint will take (only?) a username, but if you want to get a user by their Discourse ID, then it’s /admin/users/:id.json? Just quirks of the API design?
Further weirdness: if I retrieve a user by their external_id, calling /users/by-external/:id.json, then I don’t get the single_sign_on_record
So the API has some quirks… sometimes a user object has the single_sign_on_record properties, sometimes it doesn’t ![]()