Allow email links for recipients that need to login externally to redirect accordingly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Wishlist
|
Robert Lyon |
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
Changed in mahara: | |
importance: | Undecided → Wishlist |
assignee: | nobody → Robert Lyon (robertl-9) |
milestone: | none → 20.04.0 |
status: | New → In Progress |
Changed in mahara: | |
milestone: | 20.04.0 → 20.10.0 |
Changed in mahara: | |
status: | In Progress → Fix Committed |
tags: | added: newfeature |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
https:/ /reviews. mahara. org/#/c/ 10817/