Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0052440Openbravo ERPA. Platformpublic2023-05-12 15:422023-05-31 06:48
ignacio_deandres 
ignacio_deandres 
normalmajorhave not tried
closedfixed 
5
 
PR23Q3 
approved
No
Core
No
0052440: OAuth2 authentication for Push API
It would be nice to be able to do connections to external systems using the OAuth2 standard protocol.
This authorization type will be setted up in the External System window in the backoffice: Client ID, Client Secret and URI of the auth server will be mandatory.
N/A
No tags attached.
related to defect 0054194 closed caristu Add missing test cases for OAuth 2.0 external system authorization 
Issue History
2023-05-12 15:42ignacio_deandresNew Issue
2023-05-12 15:42ignacio_deandresAssigned To => ignacio_deandres
2023-05-12 15:42ignacio_deandresOBNetwork customer => No
2023-05-12 15:42ignacio_deandresModules => Core
2023-05-12 15:42ignacio_deandresTriggers an Emergency Pack => No
2023-05-12 15:49hgbotMerge Request Status => open
2023-05-12 15:49hgbotNote Added: 0149663
2023-05-30 15:14hgbotNote Added: 0150471
2023-05-30 15:30hgbotMerge Request Statusopen => approved
2023-05-30 15:31hgbotResolutionopen => fixed
2023-05-30 15:31hgbotStatusnew => closed
2023-05-30 15:31hgbotFixed in Version => PR23Q3
2023-05-30 15:31hgbotNote Added: 0150472
2023-05-30 15:31hgbotNote Added: 0150473
2023-05-30 15:31hgbotNote Added: 0150474
2023-05-30 15:31hgbotNote Added: 0150475
2023-05-30 16:08hgbotNote Added: 0150478
2023-05-30 16:19hgbotNote Added: 0150481
2023-05-31 06:48hgbotNote Added: 0150494
2023-12-21 17:36caristuRelationship addedrelated to 0054194

Notes
(0149663)
hgbot   
2023-05-12 15:49   
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/882 [^]
(0150471)
hgbot   
2023-05-30 15:14   
Merge Request created: https://gitlab.com/openbravo/ci/backoffice-api/-/merge_requests/43 [^]
(0150472)
hgbot   
2023-05-30 15:31   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: cf4f213960d19338200a46a48abbe0013896cf35
Author: Ignacio De Andrés <ignacio.deandres@openbravo.com>
Date: 30-05-2023 13:31:19
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/cf4f213960d19338200a46a48abbe0013896cf35 [^]

fixes FR-52440: OAuth 2.0 authentication method for external systems

---
A src/org/openbravo/service/externalsystem/http/OAuth2AccessToken.java
A src/org/openbravo/service/externalsystem/http/OAuth2AuthorizationError.java
A src/org/openbravo/service/externalsystem/http/OAuth2AuthorizationProvider.java
M src-db/database/model/tables/C_EXTERNAL_SYSTEM_HTTP.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_ELEMENT.xml
M src-db/database/sourcedata/AD_FIELD.xml
M src-db/database/sourcedata/AD_MESSAGE.xml
M src-db/database/sourcedata/AD_REF_LIST.xml
M src/org/openbravo/service/externalsystem/http/HttpAuthorizationProvider.java
M src/org/openbravo/service/externalsystem/http/HttpExternalSystem.java
---
(0150473)
hgbot   
2023-05-30 15:31   
Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/882 [^]
(0150474)
hgbot   
2023-05-30 15:31   
Repository: https://gitlab.com/openbravo/ci/backoffice-api [^]
Changeset: d9d278ea46ddf903656c16736bc74bb96f7a182e
Author: Carlos Aristu <carlos.aristu@openbravo.com>
Date: 30-05-2023 15:10:46
URL: https://gitlab.com/openbravo/ci/backoffice-api/-/commit/d9d278ea46ddf903656c16736bc74bb96f7a182e [^]

related to FR-52440: add formal change

  New handleRequestRetry method in HttpAuthorizationProvider interface

---
M java/reference/java.japi.gz
---
(0150475)
hgbot   
2023-05-30 15:31   
Merge request merged: https://gitlab.com/openbravo/ci/backoffice-api/-/merge_requests/43 [^]
(0150478)
hgbot   
2023-05-30 16:08   
Repository: https://gitlab.com/openbravo/ci/backoffice-api [^]
Changeset: 2dbbce3db3141b15d90e981e0fb40e76538dccc4
Author: Carlos Aristu <carlos.aristu@openbravo.com>
Date: 30-05-2023 16:08:35
URL: https://gitlab.com/openbravo/ci/backoffice-api/-/commit/2dbbce3db3141b15d90e981e0fb40e76538dccc4 [^]

related to FR-52440: remove false API change

---
M java/reference/java.japi.gz
---
(0150481)
hgbot   
2023-05-30 16:19   
Repository: https://gitlab.com/openbravo/ci/backoffice-api [^]
Changeset: ba90a6d40696848c1e9432a567780775592099d3
Author: Carlos Aristu <carlos.aristu@openbravo.com>
Date: 30-05-2023 16:19:28
URL: https://gitlab.com/openbravo/ci/backoffice-api/-/commit/ba90a6d40696848c1e9432a567780775592099d3 [^]

related to FR-52440: add new constraint

---
M model/src-db/database/model/tables/C_EXTERNAL_SYSTEM_HTTP.xml
---
(0150494)
hgbot   
2023-05-31 06:48   
Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: 7f45687ed22cf83bf1bb79a7643ac6fca7e47a42
Author: Carlos Aristu <carlos.aristu@openbravo.com>
Date: 31-05-2023 06:48:16
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/7f45687ed22cf83bf1bb79a7643ac6fca7e47a42 [^]

related to FR-52440: handle exception on send properly

---
M src/org/openbravo/service/externalsystem/http/HttpExternalSystem.java
---