Openbravo Issue Tracking System - POS2 |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0057859 | POS2 | Core | public | 2025-02-04 15:26 | 2025-02-07 11:10 |
|
Reporter | eugen_hamuraru | |
Assigned To | eugen_hamuraru | |
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | | |
Merge Request Status | approved |
Review Assigned To | |
OBNetwork customer | No |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0057859: OpenId connect use a different token claim from email to identify the user |
Description | Currently, the OpenID Connect (OIDC) authentication flow in Openbravo uses the user’s email address (extracted from the token) to identify the user. ADEO requires the system to transition to identifying users using the Openbravo user search key, which aligns with their LDAP system. This search key is included in the token as the sub claim, a registered JWT (JSON Web Token) claim |
Steps To Reproduce | N/A |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | feature request | 0055992 | | closed | cberner | Openbravo ERP | Parts of OpenIDAuthentication API should be exposed to extending classes to facilitate data retrieval | related to | feature request | 0055941 | | closed | njimenez | POS2 | Login and approvals in pos with oauth2 | related to | defect | 0052839 | | closed | caristu | Openbravo ERP | Extensible authentication provider infrastructure |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2025-02-04 15:26 | eugen_hamuraru | New Issue | |
2025-02-04 15:26 | eugen_hamuraru | Assigned To | => eugen_hamuraru |
2025-02-04 15:26 | eugen_hamuraru | OBNetwork customer | => No |
2025-02-04 15:26 | eugen_hamuraru | Triggers an Emergency Pack | => No |
2025-02-04 15:44 | hgbot | Merge Request Status | => open |
2025-02-04 15:44 | hgbot | Note Added: 0175110 | |
2025-02-06 16:49 | hgbot | Note Added: 0175233 | |
2025-02-06 17:53 | caristu | Relationship added | related to 0055992 |
2025-02-06 17:54 | caristu | Relationship added | related to 0055941 |
2025-02-06 17:55 | caristu | Relationship added | related to 0052839 |
2025-02-07 10:59 | hgbot | Merge Request Status | open => approved |
2025-02-07 11:01 | hgbot | Resolution | open => fixed |
2025-02-07 11:01 | hgbot | Status | new => closed |
2025-02-07 11:01 | hgbot | Fixed in Version | => PR25Q2 |
2025-02-07 11:01 | hgbot | Note Added: 0175283 | |
2025-02-07 11:01 | hgbot | Note Added: 0175284 | |
2025-02-07 11:01 | hgbot | Note Added: 0175285 | |
2025-02-07 11:01 | hgbot | Note Added: 0175286 | |
2025-02-07 11:10 | hgbot | Note Added: 0175290 | |
Notes |
|
(0175110)
|
hgbot
|
2025-02-04 15:44
|
|
|
|
(0175233)
|
hgbot
|
2025-02-06 16:49
|
|
|
|
(0175283)
|
hgbot
|
2025-02-07 11:01
|
|
Directly closing issue as related merge request is already approved.
Repository: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/openbravo [^]
Changeset: 2643d7444832945d7d0f7ff156901b1e1ab52366
Author: Carlos Aristu <c.aristu@orisha.com>
Date: 07-02-2025 11:00:07
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/openbravo/-/commit/2643d7444832945d7d0f7ff156901b1e1ab52366 [^]
fixes FR-57859: Configurable token claim in OpenID authentication
---
A src-test/src/org/openbravo/authentication/oauth2/OpenIDAuthenticationManagerTest.java
A src/org/openbravo/authentication/oauth2/UserByClaimFinder.java
M src-db/database/model/tables/C_AUTH_PROVIDER_OAUTH2.xml
M src-db/database/sourcedata/AD_AUXILIARINPUT.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_ELEMENT.xml
M src-db/database/sourcedata/AD_FIELD.xml
M src-db/database/sourcedata/AD_MESSAGE.xml
M src-test/src/org/openbravo/test/StandaloneTestSuite.java
M src-test/src/org/openbravo/test/base/mock/HttpServletRequestMock.java
M src-test/src/org/openbravo/test/dal/IssuesTest.java
M src/org/openbravo/authentication/oauth2/OAuth2TokenAuthenticationManager.java
M src/org/openbravo/authentication/oauth2/OpenIDAuthenticationManager.java
---
|
|
|
(0175284)
|
hgbot
|
2025-02-07 11:01
|
|
|
|
(0175285)
|
hgbot
|
2025-02-07 11:01
|
|
|
|
(0175286)
|
hgbot
|
2025-02-07 11:01
|
|
|
|
(0175290)
|
hgbot
|
2025-02-07 11:10
|
|
|