stable
Clone or download
Read-only
This contribution extends the capabilities of the relying party used in the end-to-end tests. The RP can now exchange the authorization code for an access token and retrieve information from the user info endpoint. For now, the ID token is not verified at all so the RP is closer to an OAuth2 client than an OIDC one. Part of story #14714: be an OpenID Connect provider Change-Id: I754b5eab885d9ca3ee0513aca623b74e4a5fed01
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/oauth2_server/composer.json | +4 | −2 | Go to diff View file |
M | plugins/oauth2_server/composer.lock | +520 | −1 | Go to diff View file |
M | plugins/oauth2_server/tests/e2e/cypress/cypress/integration/oidc-flow.spec.js | +1 | −1 | Go to diff View file |
A | plugins/oauth2_server/tests/e2e/cypress/rp-oidc/OAuth2AuthorizationCallbackController.php | +142 | −0 | Go to diff View file |
A | plugins/oauth2_server/tests/e2e/cypress/rp-oidc/OAuth2InitFlowController.php | +83 | −0 | Go to diff View file |
A | plugins/oauth2_server/tests/e2e/cypress/rp-oidc/OAuth2TestFlowClientCredentialStorage.php | +51 | −0 | Go to diff View file |
A | plugins/oauth2_server/tests/e2e/cypress/rp-oidc/OAuth2TestFlowConstants.php | +33 | −0 | Go to diff View file |
A | plugins/oauth2_server/tests/e2e/cypress/rp-oidc/OAuth2TestFlowHTTPClientWithClientCredentialFactory.php | +64 | −0 | Go to diff View file |
A | plugins/oauth2_server/tests/e2e/cypress/rp-oidc/OAuth2TestFlowSecretGenerator.php | +54 | −0 | Go to diff View file |
M | plugins/oauth2_server/tests/e2e/cypress/rp-oidc/app.php | +31 | −39 | Go to diff View file |