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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0057859
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[POS2] Coreminorhave not tried2025-02-04 15:262025-02-07 11:10
Reportereugen_hamuraruView Statuspublic 
Assigned Toeugen_hamuraru 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0057859: OpenId connect use a different token claim from email to identify the user

DescriptionCurrently, 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 ReproduceN/A
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to feature request 0055992 closedcberner Openbravo ERP Parts of OpenIDAuthentication API should be exposed to extending classes to facilitate data retrieval 
related to feature request 0055941 closednjimenez POS2 Login and approvals in pos with oauth2 
related to defect 0052839 closedcaristu Openbravo ERP Extensible authentication provider infrastructure 

-  Notes
(0175110)
hgbot (developer)
2025-02-04 15:44

Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/openbravo/-/merge_requests/1519 [^]
(0175233)
hgbot (developer)
2025-02-06 16:49

Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/ci/backoffice-api/-/merge_requests/96 [^]
(0175283)
hgbot (developer)
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 (developer)
2025-02-07 11:01

Repository: https://gitlab.com/orisha-group/bu-commerce/openbravo/ci/backoffice-api [^]
Changeset: 15a9def696f2bd074472be92ca04fa354e937c7c
Author: Eugen Hamuraru <eugen.hamuraru@openbravo.com>
Date: 07-02-2025 10:01:48
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/ci/backoffice-api/-/commit/15a9def696f2bd074472be92ca04fa354e937c7c [^]

relaed to FR-57859: update message search key

---
M model/src-db/database/sourcedata/AD_MESSAGE.xml
---
(0175285)
hgbot (developer)
2025-02-07 11:01

Merge request merged: https://gitlab.com/orisha-group/bu-commerce/openbravo/ci/backoffice-api/-/merge_requests/96 [^]
(0175286)
hgbot (developer)
2025-02-07 11:01

Merge request merged: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/openbravo/-/merge_requests/1519 [^]
(0175290)
hgbot (developer)
2025-02-07 11:10

Repository: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/openbravo [^]
Changeset: aa85d6344eedda9cf9b14606f9dce82d255dbf91
Author: Carlos Aristu <c.aristu@orisha.com>
Date: 07-02-2025 11:10:07
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/openbravo/-/commit/aa85d6344eedda9cf9b14606f9dce82d255dbf91 [^]

related to FR-57859: use example domain

---
M src-test/src/org/openbravo/authentication/oauth2/OpenIDAuthenticationManagerTest.java
---

- 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 Triggers an Emergency Pack => No
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 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


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker