How to login a user via API?

There’s a React Native app that you can use as a reference to find out how to login.
This file in particular should help you get started.

https://github.com/pmusaraj/discourse-mobile-single-site-app/blob/master/js/Authenticate.js

2 Likes