Autofill not working on login.microsoftonline.com after getting signed out due to idle

https://login.microsoftonline.com/organizations/oauth2/v2.0/authorize
After being signed out do to idle time, you get redirected to that URL. Kee see’s the password field, but won’t fill it in. (using Firefox with latest version of Kee.pm addon)

It ONLY doesn’t work after being signed out via the timeout. It works for the initial sign-in.

Does Kee fill it in when you ask it to?

If so, and it is therefore just that the automatic fill is not working, it may well be a similar problem to the one recently reported for Google, and the potential solution of us placing more trust into the web pages themselves might be the only possible approach we can take to change that behaviour in the long-run. I’m increasingly favouring zero-click automatic form filling being an opt-in behaviour in future Kee versions so perhaps that will offer up some useful design possibilities when we look into making these sites work better with Kee in future.

No, it will not fill when I click kee to manually fill it. I have to go to keepass directly and copy/paste.

I had an issue for some time with signing into Microsoft where the password field refused to fill. It seemed that any time the password was filled, it would quickly get cleared. I was never able to resolve directly with Kee itself. I did, however, create a user-script (Tampermonkey etc) that works around the problem. I’ll paste it below. If you are having the same issue, this may help. If your issue is different, then just ignore this comment. :slight_smile:

// ==UserScript==
// @name Microsoft Logon - workaround for Kee’s password filling getting cleared out
// @namespace http://avianwaves.com/
// @version 0.1
// @description Microsoft Logon - workaround for Kee’s password filling getting cleared out
// @author You
// @match https://login.microsoftonline.com/*
// @icon data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==
// @grant none
// @require http://ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js
// ==/UserScript==

var input;
var handle;
var pw;

function restorePassword() {
if (input.length) {
input.val(pw);
$(this).prevAll(‘input:first’).focus();
input.focus();
}
}

function FindPasswordField() {
input = $(“input[name=passwd]”);
if (input.length) {
input.on(“change”,function() {
pw = $(this).val();
setTimeout(restorePassword, 250);
});
clearInterval(handle);
}
}

(function() {
‘use strict’;
$(“body”).prepend(‘This logon page is being modified by a userscript to fix an issue where Kee's password entry gets cleared out.’);
handle = window.setInterval(FindPasswordField, 200);
})();