stable

Clone or download

Read-only

Make the OAuth2 user info endpoint public

This endpoint will not change even with "custom" authorization endpoint, it should be public. The easiest way to test that nothing gets broken it to play the E2E test of the OAuth2 Server plugin. Part of story #24227: have private oauth2 endpoints for Mediawiki Change-Id: I4799bde8110665abb5c2b0bcfd66b31eacdb783e

Modified Files

Name
M plugins/oauth2_server/include/OpenIDConnect/Discovery/ConfigurationResponseRepresentation.php +1 −1 Go to diff View file
M plugins/oauth2_server/include/OpenIDConnect/IDToken/OpenIDConnectIDTokenCreator.php +2 −2 Go to diff View file
M plugins/oauth2_server/include/REST/Specification/Swagger/SwaggerJsonOAuth2SecurityDefinition.php +1 −1 Go to diff View file
M plugins/oauth2_server/include/oauth2_serverPlugin.php +3 −33 Go to diff View file
M plugins/oauth2_server/site-content/fr_FR/LC_MESSAGES/tuleap-oauth2_server.po +0 −24 Go to diff View file
M plugins/oauth2_server/tests/unit/OpenIDConnect/Discovery/ConfigurationResponseRepresentationBuilderTest.php +3 −3 Go to diff View file
M plugins/oauth2_server/tests/unit/OpenIDConnect/IDToken/OpenIDConnectIDTokenCreatorTest.php +1 −1 Go to diff View file
M site-content/fr_FR/LC_MESSAGES/tuleap-core.po +24 −0 Go to diff View file
R plugins/oauth2_server/include/OpenIDConnect/Issuer.php Go to diff View file
R plugins/oauth2_server/include/OpenIDConnect/Scope/OAuth2SignInScope.php Go to diff View file
R plugins/oauth2_server/include/OpenIDConnect/Scope/OpenIDConnectEmailScope.php Go to diff View file
R plugins/oauth2_server/include/OpenIDConnect/Scope/OpenIDConnectProfileScope.php Go to diff View file
R plugins/oauth2_server/include/User/UserInfoController.php Go to diff View file
R plugins/oauth2_server/include/User/UserInfoResponseRepresentation.php Go to diff View file
M src/common/Request/RouteCollector.php +44 −0 Go to diff View file
R plugins/oauth2_server/tests/unit/OpenIDConnect/IssuerTest.php Go to diff View file
R plugins/oauth2_server/tests/unit/OpenIDConnect/Scope/OAuth2SignInScopeTest.php Go to diff View file
R plugins/oauth2_server/tests/unit/OpenIDConnect/Scope/OpenIDConnectEmailScopeTest.php Go to diff View file
R plugins/oauth2_server/tests/unit/OpenIDConnect/Scope/OpenIDConnectProfileScopeTest.php Go to diff View file
R plugins/oauth2_server/tests/unit/User/UserInfoControllerTest.php Go to diff View file
R plugins/oauth2_server/tests/unit/User/UserInfoResponseRepresentationTest.php Go to diff View file
M tests/unit/common/User/OAuth2/ResourceServer/GrantedAuthorizationTest.php +2 −2 Go to diff View file