Shop / e-Commerce Integration

SSO - Community Builder Event Booking / Moodle Integration

  • Huw Roberts
  • Topic Author
  • Offline
  • New Member
  • New Member
More
1 month 5 days ago #1 by Huw Roberts
Hi I am using
  • Joomla 5.4.x
  • CB 2.11.0
  • EB 5.6.1
  • Moodle 5.2
In moodle I installed:
  1. auth_joomdle.zip
  2. enrol_joomdle.zip

In joomla i installed:
  1. pkg_joomdle.zip v3.01
  2. plg_joomdleprofile_cbprofile_v2.0.1.zip
  3. plug_joomdleuser_v2.11.0.zip
  4. plg_eventbooking_joomdle_v2.0.0.zip
Moodle Token and Joomla Token setup in Joomdle config.
All plugins enabled
Plugin: joomdleprofile / cbprofile
  • Enable as secondary data source: Yes
  • Use CB API: Yes

Mapped CB fields to Moodle fields
firstname / lastname 

Connection method tried both: cUrl and file_get_contents - cURL works best

Created a course in Moodle called "CM1"

Workflow
  1. Register CB (moodle user created)
  2. Book CM1 Event in EB (linked to CM1 moodle course in addtional tab) - User is enrolled in Moodle 
PROBLEM:
The password is not recognised for the SSO - i try changing the password in joomla but still cant login to moodle with joomla credentials.
Do you know what settings i need to get this working?
I have matched the Moodle / Joomla password policy.

Thanks

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

More
1 month 5 days ago #2 by Antonio Durán
Hi.

How is the Joomdle system check?

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

  • Huw Roberts
  • Topic Author
  • Offline
  • New Member
  • New Member
More
1 month 5 days ago - 1 month 5 days ago #3 by Huw Roberts
Hi Antonio
index.php?option=com_joomdle&task=ws.server&format=xmlrpc

Shows:
"Invalid token:"

System check shows:
Joomdle User Plugin enabled: Ok
cURL Enabled: Ok
Joomla to Moodle HTTP connectivity: Ok
Moodle to Joomla HTTP connectivity: Error - Moodle cannot connect to Joomla
Joomdle Web Services:Error - Joomla URL seems to be misconfigured in Joomdle auth plugin in Moodle
I have tried:  dev.oide-droichead.com/ and  dev.oide-droichead.com
Last edit: 1 month 5 days ago by Huw Roberts.

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

More
1 month 5 days ago #4 by Antonio Durán
As per the message: you need to enable the Joomdle auth plugin in Moodle.

Do that and go to system check to make sure the last item is green.
If it is, try registering a new user and test logins.

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

  • Huw Roberts
  • Topic Author
  • Offline
  • New Member
  • New Member
More
1 month 5 days ago #5 by Huw Roberts
Hi Antonio,
Sorry i had updated my reply after you had answered.
I had re-enabled the settings:
Moodle to Joomla HTTP connectivity: Error - Moodle cannot connect to Joomla
Joomdle Web Services:Error - Joomla URL seems to be misconfigured in Joomdle auth plugin in Moodle
I have tried: dev.oide-droichead.com/ and dev.oide-droichead.com

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

More
1 month 5 days ago #6 by Antonio Durán
Did you include http(s) in front of the URLs? That's needed.

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

  • Huw Roberts
  • Topic Author
  • Offline
  • New Member
  • New Member
More
1 month 5 days ago - 1 month 5 days ago #7 by Huw Roberts
Yes:
Code:
"https://dev.oide-droichead.com"
Last edit: 1 month 5 days ago by Huw Roberts.

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

More
1 month 5 days ago #8 by Antonio Durán
That looks correct...so maybe there's something else breaking it.
Check this:
www.joomdle.com/docs/installation/check#diagnostic-log-files

Specifically, check the file in Moodle side, to see the reply from Joomla.

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

  • Huw Roberts
  • Topic Author
  • Offline
  • New Member
  • New Member
More
1 month 4 days ago #9 by Huw Roberts
Hi 
I have whitelisted IP's on both servers and ensured mod_security  /admin tools etc is not blocking .
I have tested again.
Now after registering using CB I get a blank user being created in moodle - no firstname / lastname or email address being mapped.
If i PM login details can you please have a look at my settings?
Thanks

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

  • Huw Roberts
  • Topic Author
  • Offline
  • New Member
  • New Member
More
1 day 3 hours ago - 1 day 3 hours ago #10 by Huw Roberts
Hi Antonio,
I am working on this integration and will be shortly testing with a new moodle system.
Can you confirm if a course is "completed" in moodle that the event booking "checked_in" status is updated in Joomla?
So the workflow is
  1. Register in joomla (community builder)
  2. Book Joomla Event Booking event > mapped to Moodle Course > User is enrolled.
  3. User SSO into Moodle
  4. Complete the Course in Moodle
  5. Moodle teacher marks the user as having "Completed" or "Not completed" that course
  6. Moodle auto updates "checked_in" status in Joomla Event Booking if "complete" in Moodle is True
Can you confirm if Moodle can "talk back" to Joomla event booking as described in steps 5 an 6 or do i need a seperate API to do this?
Last edit: 1 day 3 hours ago by Huw Roberts.

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