Moodle for mobile

How to launch a browser that it returns the mobile web service token

 
Picture of Sebastian Beetschen
How to launch a browser that it returns the mobile web service token
 

Hi,

I'm making a moodle app for my home university but I haven't found a way to launch the browser so that he first asks for the SSO-login (e.g. Shibboleth) and then passes the web service token as parameter back. (Like it is done with the official moodle app.)


I remarked that others had the same question, but it remains so far unanswered. 

https://moodle.org/mod/forum/discuss.php?d=351354#p1489911


Thank you!


 
Average of ratings: -
Picture of Juan Leyva
Re: How to launch a browser that it returns the mobile web service token
Core developersMoodle HQParticularly helpful MoodlersPlugin developersTesters

Hi,

this is done via a custom URL scheme call moodlemobile://?token=XYZ....

You should inspect the app source code to check how is done, or this line of code:

https://github.com/moodle/moodle/blob/master/admin/tool/mobile/launch.php#L100


 
Average of ratings: -