I’m just starting to learn how to use the Discourse API.
I’ve got data coming back when I send an api_key and api_username to an endpoint.
However, specifying the user by their username seems mysterious and brittle. I need to know the right username but the user can change their username and I don’t know what it actually is from outside.
My Discourse users can only import an account from my Bubble app. In the SSO section there’s an ‘external id’ that looks like it’s the account’s unique id from Bubble.
Is there a way to specify the user I want based on their external id instead of their username?