Openbravo Issue Tracking System - Openbravo ERP |
| View Issue Details |
|
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0056644 | Openbravo ERP | A. Platform | public | 2024-10-03 14:09 | 2024-10-09 12:05 |
|
| Reporter | alostale | |
| Assigned To | Triage Platform Conn | |
| Priority | normal | Severity | minor | Reproducibility | have not tried |
| Status | closed | Resolution | fixed | |
| Platform | | OS | 5 | OS Version | |
| Product Version | | |
| Target Version | | Fixed in Version | PR25Q1 | |
| Merge Request Status | approved |
| Review Assigned To | |
| OBNetwork customer | No |
| Web browser | |
| Modules | Core |
| Support ticket | |
| Regression level | |
| Regression date | |
| Regression introduced in release | |
| Regression introduced by commit | |
| Triggers an Emergency Pack | No |
|
| Summary | 0056644: support RSA512 for JWT tokens |
| Description | When OAuth is configured as authentication provider for API, JWT tokens are verified only if they use RS256 algorithm. If the provider implements RS512, the process will fail. |
| Steps To Reproduce | 1. Configure OAuth authentication for API with a provider implemening RS512
2. Perform an API request
ERROR:
Caused by: java.security.NoSuchAlgorithmException: Unsupported algorithm: RS512
at org.openbravo.authentication.oauth2.JWTDataProvider.getAlgorithm(JWTDataProvider.java:178) ~[classes/:?]
at org.openbravo.authentication.oauth2.JWTDataProvider.getData(JWTDataProvider.java:153) ~[classes/:?] |
| Proposed Solution | |
| Additional Information | |
| Tags | No tags attached. |
| Relationships | |
| Attached Files | |
|
| Issue History |
| Date Modified | Username | Field | Change |
| 2024-10-03 14:09 | alostale | New Issue | |
| 2024-10-03 14:09 | alostale | Assigned To | => Triage Platform Base |
| 2024-10-03 14:09 | alostale | OBNetwork customer | => No |
| 2024-10-03 14:09 | alostale | Modules | => Core |
| 2024-10-03 14:09 | alostale | Triggers an Emergency Pack | => No |
| 2024-10-03 14:09 | alostale | Assigned To | Triage Platform Base => Triage Platform Conn |
| 2024-10-03 14:12 | alostale | Summary | suport RSA512 for JWT tokens => support RSA512 for JWT tokens |
| 2024-10-03 14:29 | hgbot | Merge Request Status | => open |
| 2024-10-03 14:29 | hgbot | Note Added: 0169956 | |
| 2024-10-09 11:51 | hgbot | Merge Request Status | open => approved |
| 2024-10-09 12:04 | hgbot | Resolution | open => fixed |
| 2024-10-09 12:04 | hgbot | Status | new => closed |
| 2024-10-09 12:05 | hgbot | Fixed in Version | => PR25Q1 |
| 2024-10-09 12:05 | hgbot | Note Added: 0170177 | |
| 2024-10-09 12:05 | hgbot | Note Added: 0170178 | |