Missing external_id in api-result


(Henning) #1


I’m trying to pull userinfo from our discourse and combine it with our backend-system, but can’t find anything to link those two systems.
I’m pulling discourse-info using http://example.com/admin/users/list/all.json

Login ocours using SSO, so I expected the external_id from sso-creation to be returned via api. Alternativly to mail-adress from creation. but that’s not available in api either.

Any idea to get either information out of discourse-api?

(Kane York) #2

You need to add ?show_emails=true, I believe. Note that this will cause an event to be logged in the staff actions log.