← Back to team overview

mahara-contributors team mailing list archive

[Bug 1945243] A change has been merged

 

Reviewed:  https://reviews.mahara.org/12076
Committed: https://git.mahara.org/mahara/mahara/commit/039ce2cc5b8afa10274309191ddaaa9ff15e2c22
Submitter: Robert Lyon (robertl@xxxxxxxxxxxxxxx)
Branch:    main

commit 039ce2cc5b8afa10274309191ddaaa9ff15e2c22
Author: Robert Lyon <robertl@xxxxxxxxxxxxxxx>
Date:   Tue Sep 28 10:36:19 2021 +1300

Bug 1945243: Check if LTI login can redirect to local login

If we are trying to authenticate via LTI and no user is found and the
LTI instance has a parent auth method that allows for local login, eg
internal / ldap then we can redirect them to the login screen rather
than throw the AccessDeniedException

As discussed in https://mahara.org/interaction/forum/topic.php?id=8931

Change-Id: I3980c422c46b6bffb69eba4fa21e77de903cf7c2
Signed-off-by: Robert Lyon <robertl@xxxxxxxxxxxxxxx>

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1945243

Title:
  Allow LTI integration with no createuser option to redirect to
  homepage if needed

Status in Mahara:
  In Progress

Bug description:
  Under this scenario:

  We try to authenticate via LTI and no user is found.

  We don't have autocreate user set.

  Currently we throw an error back to the user about "Auto-creation of
  accounts is not enabled"

  However if the LTI auth instance has a parent auth method set and that
  auth method allows for local login, eg is an Internal or LDAP auth
  method then we could redirect them to the homepage / login screen in
  Mahara rather than throwing the AccessDeniedException.

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



References