Last active
April 26, 2024 14:38
-
-
Save itsjfx/e9e63130ba17a180a2e42294a2d955d5 to your computer and use it in GitHub Desktop.
Fixes FIDO2 login on Firefox by patching variables on the Azure login page
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Azure Firefox FIDO2 patch | |
// @namespace https://jfx.ac | |
// @version 0.1 | |
// @description Fixes FIDO2 login on Firefox by patching variables on the Azure login page | |
// @author jfx | |
// @match https://login.microsoftonline.com/* | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
window.$Config.urlFidoLogin = "https://login.microsoft.com/common/fido/get?uiflavor=Web\u0026cobrandid=ed5d1924-9524-4e70-8f68-5ee5e35afbef"; | |
window.$Config.fIsFidoSupported = true; | |
window.$Config.urlPost = "https://login.microsoftonline.com/common/login"; | |
window.$Config.urlPostAad = "https://login.microsoftonline.com/common/login"; | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've wrote a blog post about this gist here if anybody is interested: https://jfx.ac/blog/logging-into-entra-id-fido2-firefox-linux/