How To / General

Needing to log in again when clicking on course links

  • Web Buster UK Ltd
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
8 years 5 months ago #1 by Web Buster UK Ltd
Hi, wondering if you have any idea what could be causing this issue.

SSO works fine, when a user logs into joomla, they are automatically logged into moodle as well (when viewing mysite.com/moodle, it shows them as logged in).

However when a user clicks on a course link on joomla to be redirected to the moodle course, the joomla login page comes up and they have to log in again before being redirected to the moodle course. This happens both with the "My courses" module as well as the Community Builder My courses plugin.

Joomla access levels are set to public for the relevant modules as well as all joomdle plugins.

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

  • Web Buster UK Ltd
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
8 years 5 months ago - 8 years 5 months ago #2 by Web Buster UK Ltd
Replied by Web Buster UK Ltd on topic Needing to log in again when clicking on course links
Figured out the problem.

For some reason some of the pages are being loaded on mysite.com, while others are loaded as www.mysite.com .

Editing htaccess should fix this.
Last edit: 8 years 5 months ago by Web Buster UK Ltd.

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

More
8 years 5 months ago #3 by Antonio Durán
Replied by Antonio Durán on topic Needing to log in again when clicking on course links
Good, that's what I was going to suggest :)

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