Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0056886
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] Coreminorhave not tried2024-10-24 14:002024-10-24 17:07
ReporteralostaleView Statuspublic 
Assigned ToTriage Platform Base 
PrioritynormalResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0056886: incorrect timeout to get OAuth tokens for client systems

DescriptionClient 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 Reproduce1 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 SolutionWorkaround: it is possible to overwrite default timeout as system admin from the Mobile Services window for the org.openbravo.mobile.core.externalsystem.HttpAuthorizationService service
TagsNo 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 [^]

- 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


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker