stable

Clone or download

Read-only

Discovery configuration endpoint

Part of story #14714: be an OpenID Connect provider How to test: Access https://<your tuleap>/.well-known/openid-configuration You should get a list of claims such as defined in https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata Unsupported claims are omitted. Change-Id: Ib61ee3fe94728c4b28a6bbb2655b1602d71da2e9

Modified Files

Name
A plugins/oauth2_server/include/OpenIDConnect/Discovery/ConfigurationResponseRepresentation.php +83 −0 Go to diff View file
A plugins/oauth2_server/include/OpenIDConnect/Discovery/ConfigurationResponseRepresentationBuilder.php +76 −0 Go to diff View file
A plugins/oauth2_server/include/OpenIDConnect/Discovery/DiscoveryController.php +66 −0 Go to diff View file
M plugins/oauth2_server/include/OpenIDConnect/IDToken/OpenIDConnectIDTokenCreator.php +2 −1 Go to diff View file
A plugins/oauth2_server/include/OpenIDConnect/Issuer.php +31 −0 Go to diff View file
M plugins/oauth2_server/include/User/UserInfoResponseRepresentation.php +7 −10 Go to diff View file
M plugins/oauth2_server/include/oauth2_serverPlugin.php +17 −0 Go to diff View file
A plugins/oauth2_server/phpunit/OpenIDConnect/Discovery/ConfigurationResponseRepresentationBuilderTest.php +94 −0 Go to diff View file
A plugins/oauth2_server/phpunit/OpenIDConnect/Discovery/DiscoveryControllerTest.php +70 −0 Go to diff View file
A plugins/oauth2_server/phpunit/OpenIDConnect/IssuerTest.php +38 −0 Go to diff View file
A src/common/language/LanguageTagFormatter.php +34 −0 Go to diff View file
A tests/phpunit/common/language/LanguageTagFormatterTest.php +45 −0 Go to diff View file