stable

Clone or download

Read-only

Users should not be redirect to the login page when they are not authenticated

and does not have permission to access a resource if a provider is configured as unique authentication endpoint This is part of story #9658: log in into a Tuleap instance using only an OpenID Connect provider Change-Id: Id2ac7344fc72ddc404ca5c89a20c6cb8fc37e523

Modified Files

Name
M plugins/mediawiki/www/skins/Tuleap123/Tuleap123.php +3 −1 Go to diff View file
M plugins/openidconnectclient/include/OpenIDConnectClient/AccountLinker/Controller.php +5 −5 Go to diff View file
M plugins/openidconnectclient/include/OpenIDConnectClient/Login/Controller.php +7 −7 Go to diff View file
A plugins/openidconnectclient/include/OpenIDConnectClient/Login/IncoherentDataUniqueAuthenticationEndpointProviderException.php +25 −0 Go to diff View file
A plugins/openidconnectclient/include/OpenIDConnectClient/Login/LoginUniqueAuthenticationUrlGenerator.php +54 −0 Go to diff View file
M plugins/openidconnectclient/include/autoload.php +4 −2 Go to diff View file
M plugins/openidconnectclient/include/openidconnectclientPlugin.class.php +52 −13 Go to diff View file
A plugins/openidconnectclient/tests/Login/LoginUniqueAuthenticationUrlGeneratorTest.php +70 −0 Go to diff View file
M src/common/error/Error_PermissionDenied.class.php +2 −1 Go to diff View file
M src/common/event/Event.class.php +9 −0 Go to diff View file
M src/common/include/URLRedirect.class.php +22 −6 Go to diff View file
M src/common/include/URLVerification.class.php +1 −1 Go to diff View file
M src/www/include/account.php +3 −3 Go to diff View file
M src/www/include/utils.php +4 −3 Go to diff View file
M tests/simpletest/common/include/URLRedirectTest.php +2 −1 Go to diff View file