stable

Clone or download

Read-only

Improve logging to ease troubleshooting sessions

Understanding why a request is rejected might not be easy especially for back channel communications. Disposing of a logfile explaining why a request is rejected might relieve (a bit) the pain of troubleshooting session for the support team. Part of story #14714: be an OpenID Connect provider Change-Id: I52def641fc9f4e3e3d9ab6b3f2e39f15806e05c3

Modified Files

Name
A plugins/oauth2_server/etc/logrotate.syslog.dist +6 −0 Go to diff View file
M plugins/oauth2_server/include/AuthorizationServer/AuthorizationEndpointController.php +28 −1 Go to diff View file
M plugins/oauth2_server/include/Grant/AccessTokenGrantController.php +11 −0 Go to diff View file
M plugins/oauth2_server/include/Grant/AuthorizationCode/OAuth2GrantAccessTokenFromAuthorizationCode.php +26 −7 Go to diff View file
M plugins/oauth2_server/include/Grant/RefreshToken/OAuth2GrantAccessTokenFromRefreshToken.php +12 −1 Go to diff View file
M plugins/oauth2_server/include/Scope/InvalidOAuth2ScopeException.php +22 −0 Go to diff View file
M plugins/oauth2_server/include/Scope/ScopeExtractor.php +2 −2 Go to diff View file
M plugins/oauth2_server/include/oauth2_serverPlugin.php +14 −3 Go to diff View file
M plugins/oauth2_server/tests/unit/AuthorizationServer/AuthorizationEndpointControllerTest.php +4 −1 Go to diff View file
M plugins/oauth2_server/tests/unit/Grant/AccessTokenGrantControllerTest.php +2 −0 Go to diff View file
M plugins/oauth2_server/tests/unit/Grant/AuthorizationCode/OAuth2GrantAccessTokenFromAuthorizationCodeTest.php +3 −1 Go to diff View file
M plugins/oauth2_server/tests/unit/Grant/RefreshToken/OAuth2GrantAccessTokenFromRefreshTokenTest.php +7 −2 Go to diff View file
M tools/rpm/tuleap.rhel6.spec +8 −0 Go to diff View file
M tools/rpm/tuleap.rhel7.spec +8 −0 Go to diff View file