stable
Clone or download
Read-only
Part of story #14570 Authorization grant confirmation page How to test: - Go to a project's administration - Create an OAuth2 app - query its ID in the database - go to https://tuleap.example.com/oauth2_server/authorize?client_id=tlp-client-id-<app_id> A form should be rendered with the matchin App's details. Scopes (permissions) are all fake for now and will be filled in a later contribution. Buttons are disabled. If you go to this URL as anonymous, you should be redirected to the login page. Invalid client_id should be forbidden. Change-Id: I8e8724a99dfbe4221dbecf9a815d50f6b443b897
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/oauth2_server/include/App/AppDao.php | +10 | −0 | Go to diff View file |
M | plugins/oauth2_server/include/App/AppFactory.php | +24 | −2 | Go to diff View file |
A | plugins/oauth2_server/include/App/ClientIdentifier.php | +64 | −0 | Go to diff View file |
A | plugins/oauth2_server/include/App/InvalidClientIdentifierKey.php | +34 | −0 | Go to diff View file |
M | plugins/oauth2_server/include/App/OAuth2App.php | +5 | −0 | Go to diff View file |
A | plugins/oauth2_server/include/App/OAuth2AppNotFoundException.php | +31 | −0 | Go to diff View file |
A | plugins/oauth2_server/include/AuthorizationServer/AuthorizationEndpointGetController.php | +109 | −0 | Go to diff View file |
A | plugins/oauth2_server/include/AuthorizationServer/AuthorizationFormPresenter.php | +42 | −0 | Go to diff View file |
M | plugins/oauth2_server/include/ProjectAdmin/ProjectAdminPresenterBuilder.php | +1 | −1 | Go to diff View file |
M | plugins/oauth2_server/include/oauth2_serverPlugin.php | +9 | −0 | Go to diff View file |
M | plugins/oauth2_server/phpunit/App/AppFactoryTest.php | +49 | −2 | Go to diff View file |
A | plugins/oauth2_server/phpunit/App/ClientIdentifierTest.php | +59 | −0 | Go to diff View file |
A | plugins/oauth2_server/phpunit/AuthorizationServer/AuthorizationEndpointGetControllerTest.php | +116 | −0 | Go to diff View file |
M | plugins/oauth2_server/site-content/fr_FR/LC_MESSAGES/tuleap-oauth2_server.po | +12 | −0 | Go to diff View file |
A | plugins/oauth2_server/templates/authorization-form.mustache | +61 | −0 | Go to diff View file |
A | plugins/oauth2_server/themes/_authorization-form.scss | +46 | −0 | Go to diff View file |
A | plugins/oauth2_server/themes/authorization-form-blue-condensed.scss | +21 | −0 | Go to diff View file |
A | plugins/oauth2_server/themes/authorization-form-blue.scss | +21 | −0 | Go to diff View file |
A | plugins/oauth2_server/themes/authorization-form-green-condensed.scss | +21 | −0 | Go to diff View file |
A | plugins/oauth2_server/themes/authorization-form-green.scss | +21 | −0 | Go to diff View file |
A | plugins/oauth2_server/themes/authorization-form-grey-condensed.scss | +21 | −0 | Go to diff View file |
A | plugins/oauth2_server/themes/authorization-form-grey.scss | +21 | −0 | Go to diff View file |
A | plugins/oauth2_server/themes/authorization-form-orange-condensed.scss | +21 | −0 | Go to diff View file |
A | plugins/oauth2_server/themes/authorization-form-orange.scss | +21 | −0 | Go to diff View file |
A | plugins/oauth2_server/themes/authorization-form-purple-condensed.scss | +21 | −0 | Go to diff View file |
A | plugins/oauth2_server/themes/authorization-form-purple.scss | +21 | −0 | Go to diff View file |
A | plugins/oauth2_server/themes/authorization-form-red-condensed.scss | +21 | −0 | Go to diff View file |
A | plugins/oauth2_server/themes/authorization-form-red.scss | +21 | −0 | Go to diff View file |
M | plugins/oauth2_server/webpack.common.js | +17 | −5 | Go to diff View file |
M | src/common/Project/Group.class.php | +7 | −4 | Go to diff View file |