Forums | Mahara Community
Can't login from email notification link of new file added to group
10 February 2018, 2:46 AM
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).
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.
12 February 2018, 5:06 PM
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".
13 February 2018, 12:34 AM
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?
22 February 2018, 9:02 AM
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.