Bug 2520877 - RFE: enable WITH_WEBVIEW for native Entra ID (Azure AD) authentication
Summary: RFE: enable WITH_WEBVIEW for native Entra ID (Azure AD) authentication
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: freerdp
Version: 44
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Simone Caronni
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-21 02:55 UTC by themew2
Modified: 2026-11-16 15:59 UTC (History)
4 users (show)

Fixed In Version: freerdp-3.33.0-3.fc46 freerdp-3.33.1-1.fc45 freerdp-3.33.1-1.fc44
Clone Of:
Environment:
Last Closed: 2026-11-06 13:59:54 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description themew2 2026-08-21 02:55:06 UTC
Fedora's freerdp package is built with WITH_WEBVIEW=OFF:

  $ /usr/bin/sdl-freerdp /buildconfig | tr ' ' '\n' | grep -iE 'WITH_AAD|WITH_WEBVIEW'
  WITH_AAD=ON
  WITH_WEBVIEW=OFF

WITH_AAD is enabled, so Entra ID authentication works, but without WITH_WEBVIEW
the login flow degrades: the client prints a URL, the user signs in through an
external browser, then pastes the redirect URL back into the terminal. With
WITH_WEBVIEW the client opens an embedded browser, matching the "Use a web
account to sign in to the remote computer" behaviour of Windows' mstsc.exe.

This affects anyone connecting to Entra-joined Windows hosts from Fedora, which
is an increasingly common corporate configuration.

I am aware this is likely not a simple flag change. FreeRDP obtains its webview
helper through CMake FetchContent (PR #11518), which conflicts with Fedora's
prohibition on network access during builds. It currently references a fork of
webview/webview pending upstream PR #1302, which would also need resolving.

I am filing this to ask what the path forward looks like rather than to request
an immediate change. Would packaging webview/webview as a separate Fedora
package be the prerequisite? Is there interest in that? I am willing to help
where I can.

Build requirements when enabled: webkitgtk6.0-devel (webview probes
webkitgtk-6.0, then webkit2gtk-4.1, then webkit2gtk-4.0).

Verified on: Fedora 44, freerdp built from master (3.30.1-dev0) with
WITH_WEBVIEW=ON, working correctly against an Entra-joined host.

Reproducible: Always

Comment 1 Fedora Update System 2026-11-06 12:41:05 UTC
FEDORA-2026-e687c36c99 (freerdp-3.33.0-3.fc46) has been submitted as an update to Fedora 46.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-e687c36c99

Comment 2 Fedora Update System 2026-11-06 12:49:33 UTC
FEDORA-2026-c9a411cbe3 (Enable the XDG AAD authentication helper) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-c9a411cbe3

Comment 3 Fedora Update System 2026-11-06 12:50:13 UTC
FEDORA-2026-ea0bd83663 (Enable the XDG AAD authentication helper) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-ea0bd83663

Comment 4 Fedora Update System 2026-11-06 12:55:42 UTC
FEDORA-2026-e19043d79b (freerdp-3.33.0-3.fc45) has been submitted as an update to Fedora 45.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-e19043d79b

Comment 5 Ondrej Holy 2026-11-06 13:30:19 UTC
Upstream replaced the old WITH_WEBVIEW option with separate authentication helpers. The WebView-based helper exists, but depends on a patched webview library fork with unmerged changes, complicating Fedora packaging. I enabled the XDG helper instead, which opens the default browser and automatically captures the authentication redirect, avoiding manual URL copying and pasting. This addresses the manual redirect handling, though it does not provide the embedded browser window originally requested.

Comment 6 Fedora Update System 2026-11-06 13:59:54 UTC
FEDORA-2026-e687c36c99 (freerdp-3.33.0-3.fc46) has been pushed to the Fedora 46 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 7 Fedora Update System 2026-11-07 02:31:57 UTC
FEDORA-2026-ea0bd83663 has been pushed to the Fedora 44 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-ea0bd83663`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-ea0bd83663

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Fedora Update System 2026-11-07 02:53:15 UTC
FEDORA-2026-e19043d79b has been pushed to the Fedora 45 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-e19043d79b`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-e19043d79b

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 9 Fedora Update System 2026-11-07 03:13:53 UTC
FEDORA-2026-c9a411cbe3 has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-c9a411cbe3`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-c9a411cbe3

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 10 Fedora Update System 2026-11-12 02:32:12 UTC
FEDORA-2026-0fb2031f97 (freerdp-3.33.1-1.fc45) has been pushed to the Fedora 45 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 11 Fedora Update System 2026-11-12 03:58:59 UTC
FEDORA-2026-c3c88dc710 has been pushed to the Fedora 44 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-c3c88dc710`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-c3c88dc710

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 12 Fedora Update System 2026-11-12 04:17:59 UTC
FEDORA-2026-4b05a014bf has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-4b05a014bf`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-4b05a014bf

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 13 Fedora Update System 2026-11-16 15:55:59 UTC
FEDORA-2026-c3c88dc710 (freerdp-3.33.1-1.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 14 themew2 2026-11-16 15:59:45 UTC
I've tested functionality on Fedora 45. It works as I would expect. I've updated the app I had developed on Fedora 44 to turn Webview on. If you're interested it's available on Github. https://github.com/themew2/FreeRDP-to-Entra-Connected-Windows-Device


Note You need to log in before you can comment on or make changes to this bug.