Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-105208

evolution-data-server failed for Microsoft EWS - missing webkitgtk

Linking RHIVOS CVEs to...Migration: Automation ...RHELPRIO AssignedTeam ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Can't Do
    • Icon: Normal Normal
    • None
    • CentOS Stream 10, rhel-10.1
    • evolution-data-server
    • None
    • None
    • None
    • rhel-display-tools-accessibility
    • None
    • None
    • None
    • None
    • None
    • x86_64
    • None

      Hi,

      I am current using latest CentOS Stream 10 desktop. `evolution` and `evolution-ews` are installed from EPEL. Configuring evolution client to work with Microsoft EWS failed on CS10. In CS10, the evolution client shows a window with OAUTH2 URL for client to open in other browsers Firefox/Chrome, but not the built-in browser within it. Opening this URL in different browser shows a blank white page, similarly in here: https://techcommunity.microsoft.com/discussions/identityauth/evolution-with-business-account-oauth2/4396148/replies/4398683

      To my understanding it seems there are missing headers/cookies when opening this URL from other browsers rather than evolution's built-in browser: https://gitlab.gnome.org/GNOME/evolution-data-server/-/issues/515

      I suggested to enable built-in webkit within evolution-data-server: https://gitlab.com/redhat/centos-stream/rpms/evolution-data-server/-/blob/1e15940168e36d5897dd963c31ed9b9e02716ae4/evolution-data-server.spec#L23

      For the record, doing this same task works on Ubuntu 24.10. Comparing build log of the two, Ubuntu has those configure options while in CS10 they are OFF:

      [...]

      –    ENABLE_GTK ................... ON
      –   ENABLE_GTK4 .................. ON
      –    ENABLE_OAUTH2_WEBKITGTK ...... ON
      –    ENABLE_OAUTH2_WEBKITGTK4 ..... ON

      [...]

      Rebuilding CS10 with webkit works as a built-in browser shows up and allow me to login MS EWS account.

      $ curl http://centos-mirror/centos-stream/10-stream/AppStream/source/tree/Packages/evolution-data-server-3.52.4-3.el10.src.rpm

      $ rpmbuild --define "debug_package %{nil}" --define "with_webkitgtk 1" --rebuild evolution-data-server-3.52.4-3.el10.src.rpm

      `evolution` and `evolution-ews` do not require rebuild.

      Cheers.

       

       

       

              rhn-engineering-mcrha Milan Crha
              tuan15 Tuan H (Inactive)
              Milan Crha Milan Crha
              Michal Odehnal Michal Odehnal
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: