Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0056644 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
feature request | [Openbravo ERP] A. Platform | minor | have not tried | 2024-10-03 14:09 | 2024-10-09 12:05 | |||
Reporter | alostale | View Status | public | |||||
Assigned To | Triage Platform Conn | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | PR25Q1 | |||
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 | ||||||||
Web browser | ||||||||
Modules | Core | |||||||
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/:?] | |||||||
Tags | No 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 |