Ah, I think I may have solved my own problem.
I needed to modify the discourse-sdk to include the “Accept” json header in its requests:
request.get({
url: getUrl,
headers: {
'Accept': 'application/json'
},
},
Looks like maybe the discourse-sdk didn’t work in the first place, aside from my SSO complications