stable

Clone or download

Read-only

story #8633: Have the possibility to create and delete an OpenID Connect provider

Also, a bug has been fixed. Login buttons on the login page are now properly generated. As an example you can use the following informations to Google as a provider: Auth endpoint: https://accounts.google.com/o/oauth2/auth Token endpoint: https://accounts.google.com/o/oauth2/token Userinfo endpoint: https://www.googleapis.com/oauth2/v1/userinfo Informations on how to get a client ID and secret: https://developers.google.com/identity/protocols/OpenIDConnect#appsetup Change-Id: I389668fb1a0c8755583e938e544e12bdb955373a

Modified Files

Name
A plugins/openidconnectclient/include/OpenIDConnectClient/AdminRouter.php +71 −0 Go to diff View file
A plugins/openidconnectclient/include/OpenIDConnectClient/Administration/Controller.php +136 −0 Go to diff View file
A plugins/openidconnectclient/include/OpenIDConnectClient/Administration/Presenter.php +95 −0 Go to diff View file
M plugins/openidconnectclient/include/OpenIDConnectClient/Authentication/Flow.php +12 −0 Go to diff View file
M plugins/openidconnectclient/include/OpenIDConnectClient/Provider/ProviderDao.php +34 −0 Go to diff View file
A plugins/openidconnectclient/include/OpenIDConnectClient/Provider/ProviderDataAccessException.php +24 −0 Go to diff View file
A plugins/openidconnectclient/include/OpenIDConnectClient/Provider/ProviderMalformedDataException.php +24 −0 Go to diff View file
M plugins/openidconnectclient/include/OpenIDConnectClient/Provider/ProviderManager.php +99 −0 Go to diff View file
M plugins/openidconnectclient/include/autoload.php +7 −2 Go to diff View file
M plugins/openidconnectclient/include/openidconnectclientPlugin.class.php +18 −0 Go to diff View file
M plugins/openidconnectclient/site-content/en_US/openidconnectclient.tab +16 −1 Go to diff View file
M plugins/openidconnectclient/site-content/fr_FR/openidconnectclient.tab +16 −1 Go to diff View file
A plugins/openidconnectclient/templates/administration-providers-modal.mustache +42 −0 Go to diff View file
A plugins/openidconnectclient/templates/administration-providers.mustache +43 −0 Go to diff View file
M plugins/openidconnectclient/tests/Authentication/FlowTest.php +29 −0 Go to diff View file
A plugins/openidconnectclient/tests/Provider/ProviderManagerTest.php +59 −0 Go to diff View file
A plugins/openidconnectclient/www/admin/index.php +30 −0 Go to diff View file
M src/common/autoload.php +3 −2 Go to diff View file
M src/common/valid/ValidFactory.class.php +11 −1 Go to diff View file
M tests/simpletest/common/valid/ValidHelpersTest.php +12 −1 Go to diff View file