Forums | Mahara Community

Support /
Can't login from email notification link of new file added to group


david mather's profile picture
Posts: 7

10 February 2018, 2:46

We have a group set up that generates an email to the tutor when a new file has been uploaded for their 'group'.

When the recieving tutor clicks on the link they are sent via email, they are sent to a login box (not main page login).

i.e myorganisationurl.ac.uk/view/view.php?id=9816&login

 

When the user logs in with their correct credentials they get the message

 

'You have not provided the correct credentials to log in. Please check the username and password are correct' - but they are.

 

Any ideas?

Kristina Hoeppner's profile picture
Posts: 4863

12 February 2018, 17:06

Hi David,

Is your site by any chance linked via Moodle and they normally log in via the LMS? If that is the case, they'll need to log in via Moodle first and then go to Mahara.

If Moodle is your only login mechanism, you can set a permanent redirect for the login page so that they are taken directly to Moodle all the time and then redirected to Mahara. That is a config.php setting. See the documentation at /lib/config-defaults.php for "externallogin".

Cheers

Kristina

 

david mather's profile picture
Posts: 7

13 February 2018, 0:34

No we don't use Moodle, but authenticate via SAML, so do you think the php config should be redirecting to out main authentication SAML page rather than this one?

Kristina Hoeppner's profile picture
Posts: 4863

22 February 2018, 9:02

Hello David,

Do the students put their credentials into the login and password fields or do they click the "SSO" button? If they clicked the SSO button, they would automatically be forwarded to the IdP and then back to Mahara when logged in successfully. They can't use the normal login fields when they have SAML accounts and SAML is set up correctly.

Cheers

Kristina

 

4 results