Don't overwrite user's email if it is set in the database #20922
Labels
area/che-server
engine/devworkspace
Issues related to Che configured to use the devworkspace controller as workspace engine.
kind/task
Internal things, technical debt, and to-do tasks to be performed.
severity/P1
Has a major impact to usage or development of the system.
Is your task related to a problem? Please describe
There is the migration guide to DevWorkspace engine [1]. It turned out that InitializationFilter [2] overwrite user's email.
Describe the solution you'd like
Use email from the database if exists.
Describe alternatives you've considered
No response
Additional context
[1] eclipse-che/che-docs#2159
[2] https://github.com/eclipse-che/che-server/blob/main/infrastructures/openshift/src/main/java/org/eclipse/che/workspace/infrastructure/openshift/multiuser/oauth/OpenshiftTokenInitializationFilter.java#L104-L108
The text was updated successfully, but these errors were encountered: