stable

Clone or download

Read-only

Update backend creation for Azure AD provider

part of request #12832 Support OpenID Connect providers where the login URL is different than the issuer URL This patch change the database and backend to add Azure AD option and linked Tenant Id To test it, you need to set forgeConfig 'open_id_azure_option' on true. This adding Azure AD will not be available for now for usual users. You need to run make dev-forgeupgrade before the test. Then, on providers administration creation, it's possible to checked Azure Active Directory and add the Tenant ID. Update Azure AD tenant ID is not possible for now on UI. Change-Id: I9e2a107c620c8ad0d91688221b64a703971b7065

Modified Files

Name
M plugins/openidconnectclient/db/install.sql +6 −0 Go to diff View file
A plugins/openidconnectclient/db/mysql/2019/201928110957_add_azure_openid_table.php +41 −0 Go to diff View file
M plugins/openidconnectclient/db/uninstall.sql +1 −0 Go to diff View file
M plugins/openidconnectclient/include/OpenIDConnectClient/AdminRouter.php +5 −2 Go to diff View file
R plugins/openidconnectclient/include/OpenIDConnectClient/Administration/ProviderPresenter.php Go to diff View file
M plugins/openidconnectclient/include/OpenIDConnectClient/Administration/Controller.php +93 −23 Go to diff View file
A plugins/openidconnectclient/include/OpenIDConnectClient/Administration/GenericProviderPresenter.php +116 −0 Go to diff View file
M plugins/openidconnectclient/include/OpenIDConnectClient/Administration/Presenter.php +12 −2 Go to diff View file
A plugins/openidconnectclient/include/OpenIDConnectClient/Provider/AzureADProvider/AzureADProvider.php +145 −0 Go to diff View file
A plugins/openidconnectclient/include/OpenIDConnectClient/Provider/AzureADProvider/AzureADProviderDao.php +62 −0 Go to diff View file
A plugins/openidconnectclient/include/OpenIDConnectClient/Provider/AzureADProvider/AzureADProviderManager.php +117 −0 Go to diff View file
R plugins/openidconnectclient/include/OpenIDConnectClient/Provider/GenericProvider.php Go to diff View file
R plugins/openidconnectclient/include/OpenIDConnectClient/Provider/GenericProviderDao.php Go to diff View file
A plugins/openidconnectclient/include/OpenIDConnectClient/Provider/GenericProvider/GenericProviderManager.php +173 −0 Go to diff View file
M plugins/openidconnectclient/include/OpenIDConnectClient/Provider/ProviderDao.php +60 −21 Go to diff View file
M plugins/openidconnectclient/include/OpenIDConnectClient/Provider/ProviderManager.php +36 −144 Go to diff View file
M plugins/openidconnectclient/include/openidconnectclientPlugin.php +13 −2 Go to diff View file
A plugins/openidconnectclient/phpunit/Provider/AzureADProviderManagerTest.php +62 −0 Go to diff View file
A plugins/openidconnectclient/phpunit/Provider/GenericProviderManagerTest.php +166 −0 Go to diff View file
M plugins/openidconnectclient/phpunit/Provider/ProviderManagerTest.php +85 −77 Go to diff View file
M plugins/openidconnectclient/site-content/fr_FR/LC_MESSAGES/tuleap-openidconnectclient.po +3 −0 Go to diff View file
A plugins/openidconnectclient/templates/administration-providers-azure-data.mustache +6 −0 Go to diff View file
A plugins/openidconnectclient/templates/administration-providers-create-form-begining.mustache +39 −0 Go to diff View file
A plugins/openidconnectclient/templates/administration-providers-create-form-ending.mustache +56 −0 Go to diff View file
A plugins/openidconnectclient/templates/administration-providers-generic-data.mustache +25 −0 Go to diff View file
A plugins/openidconnectclient/templates/administration-providers-modal-create-azure.mustache +47 −0 Go to diff View file
A plugins/openidconnectclient/templates/administration-providers-modal-create-generic.mustache +75 −0 Go to diff View file
D plugins/openidconnectclient/templates/administration-providers-modal-create.mustache +0 −170 Go to diff View file
M plugins/openidconnectclient/templates/administration-providers-modal-update.mustache +2 −1 Go to diff View file
M plugins/openidconnectclient/templates/administration-providers.mustache +47 −31 Go to diff View file
M plugins/openidconnectclient/www/scripts/open-id-connect-client.js +25 −8 Go to diff View file
M plugins/openidconnectclient/www/themes/BurningParrot/css/includes/_openidconnectclient.scss +8 −3 Go to diff View file