RFR: 8354940: Fail to sign in to Microsoft sites with WebView

Gopal Pattnaik gpattnaik at openjdk.org
Fri May 16 12:58:36 UTC 2025


On loading of the reported URL, it looks like a browser version check is made (like Safari version, Chrome version etc). At present the browser version is not part of the user agent string we are using for JavaFX Webview

Solution:
Added a version string in the user agent similar to Safari.

Verification:
The test program attached to the JBS passes with this change.

-------------

Commit messages:
 - Microsoft Login-Code Review addressed
 - Fix for Microsoft Login

Changes: https://git.openjdk.org/jfx/pull/1808/files
  Webrev: https://webrevs.openjdk.org/?repo=jfx&pr=1808&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8354940
  Stats: 12 lines in 3 files changed: 12 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jfx/pull/1808.diff
  Fetch: git fetch https://git.openjdk.org/jfx.git pull/1808/head:pull/1808

PR: https://git.openjdk.org/jfx/pull/1808


More information about the openjfx-dev mailing list