sam
(Sam Saffron)
2
You would have to adhere to our user API to log people in, that is what our mobile app does.
The protocol is quite involved and not super documented, recommend you read through the source of discourse mobile. GitHub - discourse/DiscourseMobile: Discourse Mobile · GitHub
In particular:
Either that or if you don’t need to allow the user to do this, just specify api_username when you make your API calls with the master id.
Yes Discourse can be used an API server.