stable

Clone or download

Read-only

Add a redirect URI to the client registration

Part of story #14541 have OAuth2 project admin How to test: - Reinstall the plugin or apply changes to the database - In your project administration's OAuth2 Apps tab, add a new App - Redirect endpoint should be required, must not be HTTPS and must not contain a fragment component (#anchor) - After adding the app, the endpoint will be listed in the app list. Change-Id: Ib8a66482c56f5de61d0978c809cbb85252a92848

Modified Files

Name
M plugins/oauth2_server/db/install.sql +3 −2 Go to diff View file
M plugins/oauth2_server/include/App/AppDao.php +7 −3 Go to diff View file
M plugins/oauth2_server/include/App/AppFactory.php +2 −2 Go to diff View file
A plugins/oauth2_server/include/App/InvalidAppDataException.php +27 −0 Go to diff View file
M plugins/oauth2_server/include/App/NewOAuth2App.php +39 −3 Go to diff View file
M plugins/oauth2_server/include/App/OAuth2App.php +15 −7 Go to diff View file
M plugins/oauth2_server/include/ProjectAdmin/AddAppController.php +10 −5 Go to diff View file
M plugins/oauth2_server/include/ProjectAdmin/AppPresenter.php +6 −3 Go to diff View file
M plugins/oauth2_server/include/ProjectAdmin/ProjectAdminPresenterBuilder.php +1 −1 Go to diff View file
M plugins/oauth2_server/phpunit/App/AppFactoryTest.php +13 −6 Go to diff View file
A plugins/oauth2_server/phpunit/App/NewOAuth2AppTest.php +74 −0 Go to diff View file
M plugins/oauth2_server/phpunit/AuthorizationServer/AuthorizationEndpointGetControllerTest.php +1 −1 Go to diff View file
M plugins/oauth2_server/phpunit/ProjectAdmin/AddAppControllerTest.php +6 −2 Go to diff View file
M plugins/oauth2_server/phpunit/ProjectAdmin/ProjectAdminPresenterBuilderTest.php +8 −2 Go to diff View file
M plugins/oauth2_server/site-content/fr_FR/LC_MESSAGES/tuleap-oauth2_server.po +15 −4 Go to diff View file
A plugins/oauth2_server/templates/app-add-modal.mustache +57 −0 Go to diff View file
M plugins/oauth2_server/templates/project-admin.mustache +4 −44 Go to diff View file