I’m writing an android/iOS app that points to my discourse instance.
This is the scenario:
- When the mobile app starts for the first time I create a user on my discourse instance by calling the API by setting active=true. the user should be already active (without needing to activate again it by email)
- I store username and password in the mobile app after successfull creation.
- When the app starts I want to automatically login the user to discourse and show him the home page with the login done.
Is there a way to do that?
How can I do that?