Moodle for mobile

Need explanation about $SESSION->wantsurl

 
Picture of Esther I.K
Need explanation about $SESSION->wantsurl
 

Hello,

I have a problem with the SSO login in mobile app. After I login via browser, it doesn't redirect to the mobile app. So, I have to open the mobile app again after successfully login via SSO in mobile browser.

I read the forum about this and read the solution provided in this link: https://docs.moodle.org/33/en/Moodle_Mobile_FAQ#SSO_is_not_working_with_my_custom_auth_plugin

It says something about $SESSION->wantsurl: Custom auth plugins may be failing in the last step,not redirecting back to local/mobile, this will happen only if the plugin does not support correctly the $SESSION->wantsurl.

My question is, how do I know whether the plugin does support correctly the $SESSION->wantsurl or not? And how to solve it?


Thanks!

 
Average of ratings: -