Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0056886 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [POS2] Core | minor | have not tried | 2024-10-24 14:00 | 2024-11-27 17:39 | |||
Reporter | alostale | View Status | public | |||||
Assigned To | Triage Platform Base | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0056886: incorrect timeout to get OAuth tokens for client systems | |||||||
Description | Client external systems configured with OAuth2 authentication perform a request to an authentication provider to obtain access tokens. Currently the timeout for the request to obtain the token is hardcoded to 10 seconds. The mobile service that performs this request from POS (org.openbravo.mobile.core.externalsystem.HttpAuthorizationService) has a lower default timeout of 5s. | |||||||
Steps To Reproduce | 1 Configure a Client External System to use OAuth authentication 2 Subscribe that system to a fronetend event (ie. POS Login) 3 Trigger that event (ie. Log into POS) and ensure the authentication provider takes to responde more than 5s and less than 10s. -> ERROR: the request is perceived as error from POS although the authentication provider responded correctly | |||||||
Proposed Solution | Workaround: it is possible to overwrite default timeout as system admin from the Mobile Services window for the org.openbravo.mobile.core.externalsystem.HttpAuthorizationService service | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |
Notes | |
(0170898) hgbot (developer) 2024-10-24 14:05 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/765 [^] |
(0172271) hgbot (developer) 2024-11-20 08:30 |
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1452 [^] |
(0172364) hgbot (developer) 2024-11-20 16:46 |
Merge Request created: https://gitlab.com/openbravo/ci/backoffice-api/-/merge_requests/88 [^] |
(0172579) hgbot (developer) 2024-11-26 09:59 |
Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1452 [^] |
(0172580) hgbot (developer) 2024-11-26 09:59 |
Repository: https://gitlab.com/openbravo/product/openbravo [^] Changeset: b3a865e7ecc8796915c43c5b9e4f3bf66988d1db Author: Carlos Aristu <c.aristu@orisha.com> Date: 26-11-2024 08:58:25 URL: https://gitlab.com/openbravo/product/openbravo/-/commit/b3a865e7ecc8796915c43c5b9e4f3bf66988d1db [^] related to FR-56886: support configuring auth provider with additional settings --- M src/org/openbravo/service/externalsystem/http/HttpAuthorizationProvider.java M src/org/openbravo/service/externalsystem/http/OAuth2AuthorizationProvider.java --- |
(0172581) hgbot (developer) 2024-11-26 10:00 |
Merge request merged: https://gitlab.com/openbravo/ci/backoffice-api/-/merge_requests/88 [^] |
(0172582) hgbot (developer) 2024-11-26 10:00 |
Repository: https://gitlab.com/openbravo/ci/backoffice-api [^] Changeset: 0f1e2a275ce944133ffbab20491b26c9f6d8e6a7 Author: Carlos Aristu <c.aristu@orisha.com> Date: 20-11-2024 16:45:51 URL: https://gitlab.com/openbravo/ci/backoffice-api/-/commit/0f1e2a275ce944133ffbab20491b26c9f6d8e6a7 [^] related to FR-56886: changed HttpAuthorizationProvider.init signature --- M java/reference/java.japi.gz --- |
(0172583) hgbot (developer) 2024-11-26 10:00 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/765 [^] |
(0172584) hgbot (developer) 2024-11-26 10:00 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core [^] Changeset: 273bebccae1dc148262fbc75f28608b1a2d43331 Author: Carlos Aristu <c.aristu@orisha.com> Date: 26-11-2024 09:00:14 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/273bebccae1dc148262fbc75f28608b1a2d43331 [^] fixes FR-56886: calculate the timeout from the mobile service configuration --- M src/org/openbravo/mobile/core/externalsystem/HttpAuthorizationService.java --- |
(0172651) hgbot (developer) 2024-11-27 17:39 |
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core [^] Changeset: de20050714d2d6538ef7b2d2c50904fafb670efc Author: Carlos Aristu <c.aristu@orisha.com> Date: 27-11-2024 17:38:41 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/de20050714d2d6538ef7b2d2c50904fafb670efc [^] related to BUG-56886: configurable value should take precedence --- M src/org/openbravo/mobile/core/externalsystem/HttpAuthorizationService.java --- |
Issue History | |||
Date Modified | Username | Field | Change |
2024-10-24 14:00 | alostale | New Issue | |
2024-10-24 14:00 | alostale | Assigned To | => Triage Platform Base |
2024-10-24 14:00 | alostale | Triggers an Emergency Pack | => No |
2024-10-24 14:02 | alostale | Proposed Solution updated | |
2024-10-24 14:05 | hgbot | Note Added: 0170898 | |
2024-10-24 17:07 | martinsdan | Issue Monitored: martinsdan | |
2024-11-20 08:30 | hgbot | Note Added: 0172271 | |
2024-11-20 16:46 | hgbot | Note Added: 0172364 | |
2024-11-26 09:59 | hgbot | Note Added: 0172579 | |
2024-11-26 09:59 | hgbot | Note Added: 0172580 | |
2024-11-26 10:00 | hgbot | Note Added: 0172581 | |
2024-11-26 10:00 | hgbot | Note Added: 0172582 | |
2024-11-26 10:00 | hgbot | Note Added: 0172583 | |
2024-11-26 10:00 | hgbot | Resolution | open => fixed |
2024-11-26 10:00 | hgbot | Status | new => closed |
2024-11-26 10:00 | hgbot | Fixed in Version | => RR25Q1 |
2024-11-26 10:00 | hgbot | Note Added: 0172584 | |
2024-11-27 17:39 | hgbot | Note Added: 0172651 |
Copyright © 2000 - 2009 MantisBT Group |