← Back to team overview

mahara-contributors team mailing list archive

[Bug 1734557] Re: Allow SAML plugin to have custom auth error message - like Xmlrpc

 

Environment to be tested: Master
Browser to be tested: Any browser

Precondition:

1. A user with 'Site admin' access exists.
2. ‘Institution A' exists.

Steps to reproduce:

1. Log in as ‘Site admin’.
2. Navigate to Administration menu > Institutions > Settings.
3. Click the ‘Settings’ button for ‘Institution A’.
4. Select ‘SAML’ from the ‘Authentication plugin’ drop-down menu.
5. Add ‘SAML’ meta data and make sure the 'Authentication login message' is set up with the text ‘This is an error message’.
6. Click the ‘Submit’ button.
7. Click the 'Save' button.
8. Set up a new user that has SAML as authentication method in that institution and make sure you set a remote username for them.
9. Log out as ‘Site admin’.
10. Now try to log in as ‘User one’ using the regular login fields and not the SSO button.

Expected result: ‘User one’ is not able to log in and the authentication
login error message box is displayed: ‘This is an error message’.

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1734557

Title:
  Allow SAML plugin to have custom auth error message - like Xmlrpc

Status in Mahara:
  In Progress

Bug description:
  With Xml-rpc auth method there is an admin field that allows the admin
  to set an error message that shows if a person tries to login
  internally alerting them of how to login properly.

  This looks to be a useful feature of that auth plugin

  This patch adds the same functionality to the SAML plugin. So if a
  user tries to login internally instead of via IdP it will alert the
  message set by admin

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1734557/+subscriptions


References