stable
Clone or download
Read-only
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&scope=demo%20read:project&response_type=code&redirect_uri=https%3A%2F%2Fexample.com When you click on "Deny", you should be redirected to the redirect_uri with an error parameter like "error=access_denied" Change-Id: I195b65d561ba119187ea6a7c2be0847262f9048a
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/oauth2_server/include/AuthorizationServer/AuthorizationEndpointGetController.php | +11 | −17 | Go to diff View file |
M | plugins/oauth2_server/include/AuthorizationServer/AuthorizationFormPresenter.php | +23 | −8 | Go to diff View file |
M | plugins/oauth2_server/include/AuthorizationServer/AuthorizationFormPresenterBuilder.php | +7 | −3 | Go to diff View file |
M | plugins/oauth2_server/include/AuthorizationServer/AuthorizationFormRenderer.php | +3 | −1 | Go to diff View file |
A | plugins/oauth2_server/include/AuthorizationServer/RedirectURIBuilder.php | +52 | −0 | Go to diff View file |
M | plugins/oauth2_server/phpunit/AuthorizationServer/AuthorizationEndpointGetControllerTest.php | +0 | −4 | Go to diff View file |
M | plugins/oauth2_server/phpunit/AuthorizationServer/AuthorizationFormPresenterBuilderTest.php | +2 | −0 | Go to diff View file |
M | plugins/oauth2_server/phpunit/AuthorizationServer/AuthorizationFormRendererTest.php | +14 | −5 | Go to diff View file |
A | plugins/oauth2_server/phpunit/AuthorizationServer/RedirectURIBuilderTest.php | +59 | −0 | Go to diff View file |
M | plugins/oauth2_server/site-content/fr_FR/LC_MESSAGES/tuleap-oauth2_server.po | +3 | −0 | Go to diff View file |
M | plugins/oauth2_server/templates/authorization-form.mustache | +4 | −9 | Go to diff View file |