moodle-auth_saml2
moodle-auth_saml2 copied to clipboard
Test page need improvements for better support of multiple IdPs.
test.php output is misleading when more than one IdP are in use. I am using tester.php to select IdP. When I select default one, the output is:
When I log out and select another one to login, the output is:
This has potential to be improved:
- IdP selector can be added to
test.php, this will eliminate the need to providetester.phpfile. - IdP select items should show display names as well entity IDs, default IdP needs to be pre-selected.
- When
test.phpis displaying user data (attributes), it should only display information related to IdP associated with current login session. - When there is no single active IdP, test page still not allow to login (or allow via test page only TBD), currently it:
test.phpshows login link for default IdP, but does not allow to proceed to IdP- On
tester.phpallows to select any available IdP
What do you think about changing raw test page to this logic?
-
Initial page with multiple IdPs

-
Logged in state with one of IdPs

-
Error on passive authentication attempt.


