Details
-
Type:
Improvement
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 3.0.0
-
Fix Version/s: 3.1.0
-
Component/s: local_mobile Plugin, SSO (via local_mobile)
-
Labels:
-
Testing Instructions:
-
Affected Branches:MOODLE_30_STABLE
-
Fixed Branches:MOODLE_31_STABLE
-
Pull from Repository:
-
Pull Master Branch:
-
Sprint:Moodle Mobile 3.1.0
Description
Right now if a site is configured to force log in via the browser, the stock browser app is launched requesting the user credentials.
Instead launching the Inapp browser (embedded browser) we launch the stock browser to have a fully functional browser supporting javascript popups and other features.
We should add a new option in local_mobile "Via a embedded browser" to improve the user experience (the browser will be displayed embedded in the app).
This will require some changes:
- Add a new option in the local_mobile settings
- Support this new option in the app
- And, if the Inappbrowser is not able to "capture" the custom URL scheme, we should change how launch.php works to redirect a fake URL with the token as a parameter. See more information here: http://phonegap-tips.com/articles/google-api-oauth-with-phonegaps-inappbrowser.html