HI
We have a web portal which uses the Moodle web services to get timely information from Moodle. To do this we need to get the web service token.
If the Moodle is not using SSO this is simple, just call /login/token.php.
If the Moodle is behind SSO we can redirect to /admin/tool/mobile/launch.php but this will not redirect back to our domain. It will only redirect back to a url scheme, for example, moodlemobile://token=????. This is fine if we are in the native app version of our product because we can catch the url scheme and extract the token from it. However this will not work on the web portal as the browser doesn't recognize the url scheme and the redirect doesn't contain our domain.
How can we get a web service token for our web portal? This is simple in both Canvas and Blackboard but appears to be impossible in Moodle.
Thanks
Gordon Alexander