← Back to team overview

mahara-contributors team mailing list archive

[Bug 1867203] [NEW] Allow email links for recipients that need to login externally to redirect accordingly

 

Public bug reported:

Currently when Mahara sends a message to a user there usually a link
that they can click to view the related page / part of Mahara that the
email relates to.

If the page needs authorisation the login box is displayed so they can
login.

But it can be confusing to the user that needs to login externally.

Mahara currently has a $cfg->externallogin allowing the site to do a
redirect on a site level to the correct login place . But if we have
multiple institutions we may have multiple IdPs in play and so cannot do
a redirect at the site level.

However if the user authorises to Mahara via an external source, eg SAML
Identity Provider (IdP) or LTI webservice, it would be more useful to
redirect the user directly to the external place so they can login there
on a per user basis.

Also with SAML we can then redirect back and go to the URL that the
email link wanted to go to.

To do this:

We will need to check that the user about to receive the email message
has an external authinstance

And if so we will need to append something to the email url address, eg
authinstance id

So that when they click on the link and go to Mahara it checks for that
authinstance id and check internally to where they should be redirected
to login

** Affects: mahara
     Importance: Wishlist
     Assignee: Robert Lyon (robertl-9)
         Status: In Progress

** Changed in: mahara
   Importance: Undecided => Wishlist

** Changed in: mahara
     Assignee: (unassigned) => Robert Lyon (robertl-9)

** Changed in: mahara
    Milestone: None => 20.04.0

** Changed in: mahara
       Status: New => In Progress

-- 
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/1867203

Title:
  Allow email links for recipients that need to login externally  to
  redirect accordingly

Status in Mahara:
  In Progress

Bug description:
  Currently when Mahara sends a message to a user there usually a link
  that they can click to view the related page / part of Mahara that the
  email relates to.

  If the page needs authorisation the login box is displayed so they can
  login.

  But it can be confusing to the user that needs to login externally.

  Mahara currently has a $cfg->externallogin allowing the site to do a
  redirect on a site level to the correct login place . But if we have
  multiple institutions we may have multiple IdPs in play and so cannot
  do a redirect at the site level.

  However if the user authorises to Mahara via an external source, eg
  SAML Identity Provider (IdP) or LTI webservice, it would be more
  useful to redirect the user directly to the external place so they can
  login there on a per user basis.

  Also with SAML we can then redirect back and go to the URL that the
  email link wanted to go to.

  To do this:

  We will need to check that the user about to receive the email message
  has an external authinstance

  And if so we will need to append something to the email url address,
  eg authinstance id

  So that when they click on the link and go to Mahara it checks for
  that authinstance id and check internally to where they should be
  redirected to login

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


Follow ups