<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Firefox on jfx's site</title><link>https://jfx.ac/tags/firefox/</link><description>Recent content in Firefox on jfx's site</description><generator>Hugo</generator><language>en</language><lastBuildDate>Tue, 02 Apr 2024 00:00:00 +0000</lastBuildDate><atom:link href="https://jfx.ac/tags/firefox/index.xml" rel="self" type="application/rss+xml"/><item><title>How to login to Entra ID via FIDO2 with Firefox on Linux</title><link>https://jfx.ac/blog/logging-into-entra-id-fido2-firefox-linux/</link><pubDate>Tue, 02 Apr 2024 00:00:00 +0000</pubDate><guid>https://jfx.ac/blog/logging-into-entra-id-fido2-firefox-linux/</guid><description>&lt;h2 id="introduction"&gt;Introduction&lt;/h2&gt;
&lt;p&gt;Entra ID (formerly Azure AD) is a widely used IDP in many enterprise
environments. Despite &lt;a href="https://www.mozilla.org/en-US/firefox/114.0/releasenotes"&gt;Mozilla enabling FIDO2 support by default (as of
114.0)&lt;/a&gt;, you cannot
login to Entra ID with Firefox on Linux out of the box.&lt;/p&gt;
&lt;p&gt;The two are listed as incompatible &lt;a href="https://learn.microsoft.com/en-us/entra/identity/authentication/concept-fido2-compatibility#web-browser-support"&gt;in Microsoft&amp;rsquo;s
documentation&lt;/a&gt;,
but Chromium on Linux works fine.&lt;/p&gt;
&lt;p&gt;After some digging, I&amp;rsquo;ve found that Firefox works with simple workarounds.&lt;/p&gt;
&lt;h2 id="workarounds"&gt;Workarounds&lt;/h2&gt;
&lt;h3 id="1-set-your-user-agent-to-a-chromium-browser"&gt;1) Set your user agent to a Chromium browser&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;You can test this quickly by setting &lt;code&gt;general.user.agent.override&lt;/code&gt; in
&lt;code&gt;about:config&lt;/code&gt; to a Chromium user-agent
&lt;ul&gt;
&lt;li&gt;e.g. &lt;code&gt;Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Or you can install a &lt;a href="https://addons.mozilla.org/en-US/firefox/addon/user-agent-string-switcher/"&gt;User Agent Switcher
addon&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;This works but means you must always spoof your user-agent, at least for Entra
ID. I was glad to find this, but I wanted to figure out &lt;em&gt;why&lt;/em&gt; this works.&lt;/p&gt;</description></item></channel></rss>