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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0056644
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Openbravo ERP] A. Platformminorhave not tried2024-10-03 14:092024-10-09 12:05
ReporteralostaleView Statuspublic 
Assigned ToTriage Platform Conn 
PrioritynormalResolutionfixedFixed in VersionPR25Q1
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0056644: support RSA512 for JWT tokens

DescriptionWhen 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 Reproduce1. 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/:?]
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0169956)
hgbot (developer)
2024-10-03 14:29

Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1374 [^]
(0170177)
hgbot (developer)
2024-10-09 12:05

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: 3d8f0a8a70267c0e345438e5b605ff473e318811
Author: Asier Lostalé <a.lostale@orisha.com>
Date: 09-10-2024 10:04:56
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/3d8f0a8a70267c0e345438e5b605ff473e318811 [^]

fixes ISSUE-56644: support RSA512 for JWT tokens

---
M src/org/openbravo/authentication/oauth2/JWTDataProvider.java
---
(0170178)
hgbot (developer)
2024-10-09 12:05

Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1374 [^]

- 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 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 Note Added: 0169956
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


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker