How To / General

Moodle Mobile SSO for custom joomla pages in mobile app

  • sams
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
8 years 11 months ago - 8 years 11 months ago #1 by sams
Hi

My mobile app displaying a custom Joomla! page using advanced mobile features in Moodle.

Is it possible to get the user logged in via SSO for that page?

Its a EasySocial page. So when a Joomdle user logged in the app, and tap on Member menu (a menu populated from Moodle Mobile advance features), he is logged in there.

Is this possible in anyway? I see Moodle also allow to change mobile app authentication method in Moodle; using app, using browser etc. But none of that work for a Joomla page SSO on mobile app.
Last edit: 8 years 11 months ago by sams.

Please Log in or Create an account to join the conversation.

More
8 years 11 months ago #2 by Antonio Durán
Replied by Antonio Durán on topic Moodle Mobile SSO for custom joomla pages in mobile app
Hi.

> My mobile app displaying a custom Joomla! page using advanced mobile features in Moodle.

Can you provide a link to documentation on this? I did a quick search but could not find it. I need to understand what you are doing so I can try to test it myself.

Please Log in or Create an account to join the conversation.

  • saman سامان
  • Offline
  • Elite Member
  • Elite Member
  • samansamani2[at]yahoo.com
More
8 years 11 months ago - 8 years 11 months ago #3 by saman سامان
Replied by saman سامان on topic Moodle Mobile SSO for custom joomla pages in mobile app
hi antonio and sams
antonio , i search for this feature some weeks,
moodle.org/mod/forum/discuss.php?d=341621
docs.moodle.org/33/en/Moodle_Mobile_additional_features

what's your idea about using cb API and add custom menu?
add menu to moodle mobile app:
docs.moodle.org/32/en/Moodle_Mobile_guid...e_app_from_your_site

api for registering via cb joomla:
www.joomlapolis.com/documentation/18362-...-user-through-cb-api
Last edit: 8 years 11 months ago by saman سامان.

Please Log in or Create an account to join the conversation.

More
8 years 11 months ago #4 by Antonio Durán
Replied by Antonio Durán on topic Moodle Mobile SSO for custom joomla pages in mobile app
Hi Saman, thanks for the links.

I will be traveling until the end of the week, so probably I won't be able to look into this until I return. When I do, I will set up the Mobile app and do some testing, and get back to with what I find.

Please Log in or Create an account to join the conversation.

  • saman سامان
  • Offline
  • Elite Member
  • Elite Member
  • samansamani2[at]yahoo.com
More
8 years 11 months ago #5 by saman سامان
Replied by saman سامان on topic Moodle Mobile SSO for custom joomla pages in mobile app
friendly bump...

Please Log in or Create an account to join the conversation.

More
8 years 11 months ago #6 by Antonio Durán
Replied by Antonio Durán on topic Moodle Mobile SSO for custom joomla pages in mobile app
Hi all.

I finally got to test this, and it seems to be working fine for me.
This is what I did:
- In Joomla, I created a new menu item and set it to Registered
- In Moodle, Mobile authentication section, I set "Type of login" to "Via a browser window"
- In Moodle, Mobile features, added a new link to menu:
a new link | http://192.168.30.138/j3/index.php/cursos-joomdle-reg | browser

When I open Moodle app, I get a browser window to log in.
After that, if I am in the app and click the new link, I get a browser window with the link opened fine, as SSO worked and I am logged in the browser.

Please try this and let me know what you get.

Please Log in or Create an account to join the conversation.

  • saman سامان
  • Offline
  • Elite Member
  • Elite Member
  • samansamani2[at]yahoo.com
More
8 years 10 months ago #7 by saman سامان
Replied by saman سامان on topic Moodle Mobile SSO for custom joomla pages in mobile app

Antonio Durán wrote: Hi all.

- In Moodle, Mobile features, added a new link to menu:
a new link | http://192.168.30.138/j3/index.php/cursos-joomdle-reg | browser

in what field you added a new link?
are you see login page in embed browser in the moodle mobile app?

Please Log in or Create an account to join the conversation.

More
8 years 10 months ago #8 by Antonio Durán
Replied by Antonio Durán on topic Moodle Mobile SSO for custom joomla pages in mobile app
> in what field you added a new link?
In "Custom menu items" in "Mobile features" section.

> are you see login page in embed browser in the moodle mobile app?
No, a new browser window is opened.

Please Log in or Create an account to join the conversation.

  • saman سامان
  • Offline
  • Elite Member
  • Elite Member
  • samansamani2[at]yahoo.com
More
8 years 10 months ago #9 by saman سامان
Replied by saman سامان on topic Moodle Mobile SSO for custom joomla pages in mobile app
Is it work for you if you use embeded browser option in the moodle?

Please Log in or Create an account to join the conversation.

More
8 years 10 months ago #10 by Antonio Durán
Replied by Antonio Durán on topic Moodle Mobile SSO for custom joomla pages in mobile app
I think I only tested with the "via a browser window". I will test the oher one when I have a chance, although it will take me some time, as I don't currently have the computer I set things up on.

Please Log in or Create an account to join the conversation.