Shop / e-Commerce Integration

SSO - Community Builder Event Booking / Moodle Integration

  • Huw Roberts
  • Topic Author
  • Offline
  • New Member
  • New Member
More
1 day 10 hours 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 day 26 minutes 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
23 hours 48 minutes ago - 23 hours 45 minutes 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: 23 hours 45 minutes ago by Huw Roberts.

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

More
23 hours 44 minutes 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
22 hours 47 minutes 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
22 hours 45 minutes 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
22 hours 39 minutes ago - 22 hours 39 minutes ago #7 by Huw Roberts
Yes:
Code:
"https://dev.oide-droichead.com"
Last edit: 22 hours 39 minutes ago by Huw Roberts.

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

More
22 hours 26 minutes 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
11 hours 59 minutes 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.