R0.24 No Longer Supported

Can't get SSO to work

  • Keith Machin
  • Topic Author
  • Offline
  • New Member
  • New Member
More
15 years 10 months ago #1 by Keith Machin
Can't get SSO to work was created by Keith Machin
I have recently installed Joomdle following the instructions. However I can't log on from Joomla directly into Moodle. i think it is an authentication issue because the user set up works and so does retrieval of courses.

When I do a system check in Joomdle it comes up with

Joomla URL seems to be misconfigured in Joomdle auth plugin in Moodle

I've checked this out and it is not misconfigured. I've checked notifications and there don't appear to be any problems.

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

More
15 years 10 months ago #2 by Chris
Replied by Chris on topic Re: Can't get SSO to work
The good news is that you have established connections between them since you can pull the courses data over. The other times this message appeared was related to the URL configuration see here www.joomdle.com/wiki/Category:FAQ

Can you provide more information about your configuration, domains, etc. Alternatively, if you would like us to have a quick look you can send super admin login details for joomla and moodle to development@joomdle.com

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

More
15 years 10 months ago #3 by Chris
Replied by Chris on topic Re: Can't get SSO to work
Further to my response above, I just reproduced the error my changing the URL in the Joomdle authentication configuration in Moodle. I changed mine from www.mydomain.com to mydomain.com and the same error message appeared in the system health check. While this does not guarantee that this is the problem, it is a very good place to start checking.

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

  • Keith Machin
  • Topic Author
  • Offline
  • New Member
  • New Member
More
15 years 10 months ago #4 by Keith Machin
Replied by Keith Machin on topic Re: Can't get SSO to work
I'm trying to set this up on my development machine (so unfortunately unable to provide super admin access) URL is simply http://localhost/mydomain.co.uk

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

More
15 years 10 months ago #5 by Chris
Replied by Chris on topic Re: Can't get SSO to work
Is this a local Windows machine? If so, which version?

Also if you type that address into the url address of your browser what does it resolve to?

Can you send me the URL that you enter into the Joomdle configuration (Joomla) and the URL you put into Joomdle configuration Moodle. You can send to development@joomdle.com.

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

  • Keith Machin
  • Topic Author
  • Offline
  • New Member
  • New Member
More
15 years 10 months ago #6 by Keith Machin
Replied by Keith Machin on topic Re: Can't get SSO to work
Yes it is a windows machine (Windows 7)

url resolves to mydomain.co.uk

I'm also running WAMP.

Have sent url to your email as requested.

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

More
15 years 10 months ago #7 by Chris
Replied by Chris on topic Re: Can't get SSO to work
There has been a few reported issues with the DNS / localhost settings in windows previously. Here is one that had similar problems www.joomdle.com/en/forum/5-r022-and-earl...le?limit=10&start=20

What did the trick for this one is the localhost settings.

Also based on your email, in the past I have gotten around some windows issues by using a fake domain for local. eg. I run my joomla, moodle, joomdle on my local windows by using a fake domain called www.testing.com and www.testing.com/moodle . In my local host I point testing.com www.testing.com to 127.0.0.1 and do not use "localhost" anywhere.

Have a look at your localhost file and see what is there.

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

  • Keith Machin
  • Topic Author
  • Offline
  • New Member
  • New Member
More
15 years 10 months ago #8 by Keith Machin
Replied by Keith Machin on topic Re: Can't get SSO to work
Thanks Chris,

I've tried all this and now reinstalled Moodle. I can beacuse it is not yet operational thankfully. Also reinstalled Joomdle. I think there is an issue about the data that is transferred over. Unless all data is transferred it seems to go a bit wrong. Can you let me know where I find mapping table for contacts to User Accounts

Many Thanks

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

More
15 years 10 months ago #9 by Chris
Replied by Chris on topic Re: Can't get SSO to work
Hi there,

Not sure which "stuff" you are trying to map across. If you are doing a clean Moodle there would be no need to transfer data? Just delete Moodle, drop the Moodle database and re-install. But to answer your question, Joomla stores user details in jos_users and Moodle stores the basics in mdl_user. Normally these two tables are in different databases unless you have specifically stated they would be in the same database.

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