Skip to content

Commit 671806e

Browse files
authored
Merge pull request #1086 from nextcloud/fix/false-setup-status
fix: false `integration setup` status even after complete oauth setup
2 parents 396a176 + 1cd30e8 commit 671806e

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
3131
- Fix: Do not create OAuth client while updating OIDC setup [#1075](https://github.com/nextcloud/integration_openproject/pull/1075)
3232
- Fix: Handle invalid boolean auth-method value [#1074](https://github.com/nextcloud/integration_openproject/pull/1074)
3333
- Fix: Update OpenProject icon [#1078](https://github.com/nextcloud/integration_openproject/pull/1078)
34+
- Fix: False integration setup status even after complete oauth setup [#1086](https://github.com/nextcloud/integration_openproject/pull/1086)
3435

3536
## 2.11.3 - 2026-06-18
3637

lib/Controller/ConfigController.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -656,6 +656,7 @@ public function setUpIntegration(?array $values): DataResponse {
656656

657657
if ($values['authorization_method'] === Application::AUTH_METHOD_OAUTH) {
658658
$response = \array_merge($response, $this->recreateOauthClientInformation());
659+
$response['status'] = OpenProjectAPIService::isAdminConfigOk($this->config);
659660
}
660661

661662
if ($setup['oPOAuthTokenRevokeStatus']) {
@@ -711,6 +712,7 @@ public function updateIntegration(?array $values): DataResponse {
711712
$response = \array_merge($response, $this->oauthService->getClientInfo($oauthDbId));
712713
} else {
713714
$response = \array_merge($response, $this->recreateOauthClientInformation());
715+
$response['status'] = OpenProjectAPIService::isAdminConfigOk($this->config);
714716
}
715717

716718
if ($setup['oPOAuthTokenRevokeStatus']) {

0 commit comments

Comments
 (0)