Hi all
I am very interested in getting MoodleMobile to work with Google Oauth/SSO. Is it possible or will it be possible in a nearby future?
/Lars
Hi Lars,
if you install the Moodle Mobile additional features plugin: https://docs.moodle.org/en/Moodle_Mobile_additional_features and configure it to force login "Via a browser" you will be able to connect to your site using the Moodle auth method configured (Google SSO for example).
The Mobile app have to delegate the authentication in Moodle, we won't supporting authentication & authorization methods like Google SSO natively.
Juan
Yes I've done that and when I log in the app redirects me to the browser/moodlepage correctly. When I try to login via Google Oauth2 module the page returns an error "Automatic token generation is not available to site administrators (they must create a token manually in th site)".
Do I have to create tokens manually and individually for every user using Google Authentification?
Thanks
/Lars
Hi Juan,
Long time!!
Thanks for adding this new feature "via embedded browser".
Could you please check my website www.saamarthyaved.com . I am not being able to get both these "via a browser" and via embedded browser working. It was working though when I embedded Google Oath 2 two months ago.
Thanks and Regards,
Sourabh
Hi,
it seems local_mobile is not installed or the directory where is installed is restricted by the web server:
http://www.saamarthyaved.com/local/mobile/check.php?service=local_mobile
I get a 403 error if I try that url
Juan
Hi,
I have checked with the hosting company and this is what I got
"I have checked all permissions of your account is correct, and url http://www.saamarthyaved.com/local/mobile/check.php?service=local_mobileis showing below error.
{"error":0,"code":"3"}
"
Not sure if anything needs to be done from my side.
Thanks
Hi,
I can see what's happening, after authenticating with Google the app is not launched.
This usually happens when the auth plugin is not redirecting back correctly the original request.
Can you point me to the Google Auth plugin are you using? is a custom one, a plugin from the plugins database?
Regards, Juan
Thanks for the information Lars,
Sourabh, can you confirm which Moodle plugin are you using?
Juan
Its Oauth2. Its a registered plugin with moodle.
The drag and drop in the quiz is fantastic; its very good as compared to the website version. I guess the Fill in the Blank is though not coming that fairly as you cannot see the blank.
Thanks
Sourabh
Hi Sourabh,
can you confirm that you are using this plugin? https://moodle.org/plugins/auth_googleoauth2 if so, is the same that Lars is using :s
Juan
Yes we are using the same plugin. I am getting embedded browser and quizes in the app now. Thanks
We are getting this error again and what I did yesterday was to update the additional mobile feature plugin as indicated in notifications.
Is there anything we have to do after updating this plugin so that the app continues to the type of login we choose than the default one.
Thanks