My custom mobile app is authenticating via LDAP so as moodle so both applications share same authentication.
I can put "siteurl": as my site address, which skips first step of adding url when app launches.
I want to pass user name and password to Moodle automatically so user doesn't have to login twice or I can get the token and using his credentials and pass it to moodle app.
Can you suggest which way will be better to do it? if yes then can point me where it should store or how it should be passed for Moodle app to pick it up.
or it not recommended to it?