stable

Clone or download

Read-only

Authz endpoint passes state parameter unmodified

Part of story #14570 Authorization grant confirmation page How to test: - Assuming that you have created an OAuth2 app with a redirect endpoint, for example "https://example.com" - go to https://tuleap.example.com/oauth2_server/authorize?client_id=<client_id>&state=xyz&redirect_uri=https%3A%2F%2Fexample.com (scopes and response_type omitted intentionally) You should be redirected to https://example.com?state=xyz&error=invalid_request Change-Id: I7ba04ae14efc073d2234757d952cf828e3e02817

Modified Files

Name
M plugins/oauth2_server/include/AuthorizationServer/AuthorizationEndpointGetController.php +18 −5 Go to diff View file
M plugins/oauth2_server/phpunit/AuthorizationServer/AuthorizationEndpointGetControllerTest.php +64 −137 Go to diff View file