Joomdle 2.x Installation

Joomdle and other Moodle Authentication

  • Stephen
  • Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 2 months ago #1 by Stephen
Hey,

Thanks for an amazing plugin. I'm using Joomla 3.10.5 and Moodle 3.11.5. Joomdle works great- I can login via Joomla or Moodle and everything work seamlessly.

I want to introduce SAML authentication AD so that our users can access the site using their enterprise credentials. I knew how to set this up in Moodle - this works, however the user is not authenticated in Joomla. I see in the documentation that Joomla is the "master". The users in Moodle have Joomdle set up as authentication method and the SAML can login users even if SAML is not set as their authentication login. This is working well by itself.

I'm just wondering if there is perhaps a setting I've missed that means Joomdle can login the user into Joomla. Or whether I need to set SAML SSO up in Joomla and hopefully Joomdle will be able to handle the rest.

Are you able to provide any advice?

Many thanks

Steve

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

More
4 years 2 months ago #2 by Antonio Durán
Replied by Antonio Durán on topic Joomdle and other Moodle Authentication
Hi Steve.

Thanks for the kind words, we are happy that you like Joomdle.

> The users in Moodle have Joomdle set up as authentication method and the SAML can login users even if SAML is not set as their authentication login. This is working well by itself.

Nice, I didn't know this was possible.

> I'm just wondering if there is perhaps a setting I've missed that means Joomdle can login the user into Joomla.

Not really, this should work by default.
If I understand it right, Single Sign On from Moodle to Joomla works with a user who does not use SAML, correct?
That would be the issue is only when interacting with SAML: depending on how that plugin works, the problem might be that even if Joomdle is set as their auth method, the needed function (user_authenticated_hook) is not called for Joomdle plugin or it does not get the right info...I cannot really tell without digging more into it.

> Or whether I need to set SAML SSO up in Joomla and hopefully Joomdle will be able to handle the rest.

This would make more sense to me. If you set SAML SSO in Moodle, users can only log in via Moodle. If you set it in Joomla, users can log in from Joomla or Moodle, and Joomdle "should" take care of the rest. I have never tested this scenario, so I don't know if this have any issues.

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

  • Stephen
  • Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 2 months ago #3 by Stephen
Replied by Stephen on topic Joomdle and other Moodle Authentication
Thanks for your reply.

It turns out its a similar situation in Joomla. So if I enter my username/password, Joomdle works fine, however using SAML it only logs into Joomla. I tried changing and using the different settings in the User hooks- Joomdle plugin.

I assume similar to your last post, there is a function in Joomla/Joomdle that is bypassed when using the SAML authentication.

Do you have any thoughts? Do you offer paid support to have a look?

Thank you

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

More
4 years 2 months ago #4 by Antonio Durán
Replied by Antonio Durán on topic Joomdle and other Moodle Authentication
Hi.

You can write to antonio at joomdle to get paid support. I can take a look to see if I find the issue.
You can also send me the links/packages you are using, so I can check the code.

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