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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0056885
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Modules] Openbravo Business APIminorhave not tried2024-10-24 13:432024-10-29 08:51
ReporteralostaleView Statuspublic 
Assigned ToTriage Platform Conn 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Merge Request Statusapproved
Regression date
Regression introduced by commit
Regression level
Review Assigned To
Support ticket
OBNetwork customerNo
Regression introduced in release
Summary

0056885: no log info for OAuth tokens requests

DescriptionWhen an external system (back or front) is configured to use OAuth2 authentication, a request to the authentication provider to obtain a token is performed.

Currently there is no trace in the log informing about these requests. This information can be useful when trying to pinpoint problems with this service.
Steps To ReproduceCase 1. Backend Push API
1.1 Configure a Backend External System to use OAuth authentication
1.2 Subscribe that system to a backend event (ie. POS Order created)
1.3 Trigger that event (ie. create an order in POS)

Case 2. Client API
2.1 Configure a Client External System to use OAuth authentication
2.2 Subscribe that system to a fronetend event (ie. POS Login)
2.3 Trigger that event (ie. Log into POS)

In both cases it'd be useful to have some log about the request to get the tokens
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0056890 closedTriage Platform Conn push API events don't log the time the request took to complete 

-  Notes
(0170897)
hgbot (developer)
2024-10-24 13:46

Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1405 [^]
(0170899)
hgbot (developer)
2024-10-24 14:12

Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1405 [^]
(0170900)
hgbot (developer)
2024-10-24 14:12

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: 6923aff8a1ea3bf964f579a9274dfc956e3dd0ad
Author: Asier Lostalé <a.lostale@orisha.com>
Date: 24-10-2024 13:45:46
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/6923aff8a1ea3bf964f579a9274dfc956e3dd0ad [^]

fixes ISSUE-56885: no log info for OAuth tokens requests

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

- Issue History
Date Modified Username Field Change
2024-10-24 13:43 alostale New Issue
2024-10-24 13:43 alostale Assigned To => Triage Platform Conn
2024-10-24 13:43 alostale OBNetwork customer => No
2024-10-24 13:46 hgbot Merge Request Status => open
2024-10-24 13:46 hgbot Note Added: 0170897
2024-10-24 14:10 hgbot Merge Request Status open => approved
2024-10-24 14:12 hgbot Resolution open => fixed
2024-10-24 14:12 hgbot Status new => closed
2024-10-24 14:12 hgbot Note Added: 0170899
2024-10-24 14:12 hgbot Fixed in Version => PR25Q1
2024-10-24 14:12 hgbot Note Added: 0170900
2024-10-29 08:51 rafaroda Relationship added related to 0056890


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker