Joomdle 1.0 Installation

Another SSO Issue

  • pcomelearning
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
9 years 7 months ago #1 by pcomelearning
Another SSO Issue was created by pcomelearning
Hello,

We've been struggling with this SSO issue for a couple of days now. For some reason the first login after the browser cache is cleared fails and the user is asked to login a second time. The second time the user is taken into Moodle and is signed in. When the user signs out they are not redirected to joomla! nor signed out of it. The Joomdle authentication plugin is set to redirect back to www.streamingsymposium.com/joomdle . The system check runs with all greens and redirectless SSO has been toggled on and off with no effect. SSO was working perfectly before we pointed our domain and upgraded Joomla to 3.6.1. Now it feels like it is half broken.

www.streamingsymposium.org is our site. Any idea what may be happening? Any help is greatly appreciated.

Thank you,
Miles

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

More
9 years 7 months ago #2 by Antonio Durán
Replied by Antonio Durán on topic Another SSO Issue
Hi.

I tested locally deleting cache and login, and it worked fine.

> The second time the user is taken into Moodle and is signed in.
Is taken to Moodle? Joomdle won't take users to Moodle directly.

> SSO was working perfectly before we pointed our domain and upgraded Joomla to 3.6.1. Now it feels like it is half broken.
Did you change domain in Joomdle config in Joomla and Moodle?

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

  • pcomelearning
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
9 years 7 months ago #3 by pcomelearning
Replied by pcomelearning on topic Another SSO Issue
Hi Antonio,

For whatever reason, the login failure issue has resolved. It may have had something to do with parts of our database that were still pointing to the old server.

However, the logout issue is unresolved.

I believe we were not clear about the logout issue in our original post. Up until a few days ago, when a user logged out from the Moodle side of the system, they were also logged out of the Joomla side. Now, logging out of the Moodle side leaves the user signed in to Joomla.

The only variables that have changed right before this problem appeared are the following:

1. We pointed our server to our actual domain
2. We put the site into maintenance mode for a few days.

Thanks.

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

  • pcomelearning
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
9 years 7 months ago #4 by pcomelearning
Replied by pcomelearning on topic Another SSO Issue
I have recorded a short video of what is happening when we log out of Moodle.

In the video, I show how a strange URL is flashing in the browser title bar during the logout process. I think it is a clue.

www.dropbox.com/s/co8wrlyajskbsi5/logout...ue%20Moodle.mov?dl=0

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

  • pcomelearning
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
9 years 7 months ago #5 by pcomelearning
Replied by pcomelearning on topic Another SSO Issue
I just noticed that if I log out on the Joomla side, I am logged out on the Moodle side as well. If I log back in on the Moodle side, the SSO logs me back into Joomla. So, the only SSO issue seems to be that logging out of Moodle does not log you out of Joomla liked it used to in the past.

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

More
9 years 7 months ago #6 by Antonio Durán
Replied by Antonio Durán on topic Another SSO Issue
Are you running Joomdle 1.0.7 on Joomla and Moodle? If not, you should upgrade and test.
It provides support for new "remember me" cookie in Joomla 3.6, so if you are using "remember be", that may explain the issue.

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

  • pcomelearning
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
9 years 7 months ago #7 by pcomelearning
Replied by pcomelearning on topic Another SSO Issue
We are running Joomdle 1.0.7 and Joomla 3.6.

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

  • pcomelearning
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
9 years 7 months ago #8 by pcomelearning
Replied by pcomelearning on topic Another SSO Issue
We are having another issue that may be related. The mappings from the Joomla user field to the Moodle user field are broken. Before, when a user registered the license number populated was mapped populated in Moodle. The mappings are still set up correctly in Joomla: Mappings. Even the last name user field is no longer populating into Moodle, which was working perfectly without mappings. I just added the mapping and the last name still did not populate into Moodle from Joomla registration.

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

  • pcomelearning
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
9 years 7 months ago #9 by pcomelearning
Replied by pcomelearning on topic Another SSO Issue
To clarify, the license number referred to is a custom field we created in HikaShop and mapped to Moodle. It used to work before these other problems came up. It almost seems like something is wrong with the Joomdle connector.

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

More
9 years 7 months ago #10 by Antonio Durán
Replied by Antonio Durán on topic Another SSO Issue
For anyone reading: problem was that Hikashop fields are only synced after course purchase, or when you use account activation by email.

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