by Patrick Witter.
Good day. My issue is that when I use the
<moodlesite>/login/token.php?service=moodle_mobile_app&moodlewsrestformat=json&username=$username&password=$password
to log in my user. My user's enrolled courses (they are auto-enrolled) are not displayed within my mobile app when I call
to log in my user. My user's enrolled courses (they are auto-enrolled) are not displayed within my mobile app when I call
webservice/rest/server.php?wsfunction=core_enrol_get_users_courses&moodlewsrestformat=json
(All calls are done correctly)
The courses list is empty. Only when the user logins into the Actual Website then they are auto-enrolled
Why is this happening does anyone have a solution
(All calls are done correctly)
The courses list is empty. Only when the user logins into the Actual Website then they are auto-enrolled
Why is this happening does anyone have a solution