Here's the jsavin's full answer from the forum thread above (the fragment above is not enough to find the offending login process):
After running into this issue many times and not finding good solutions short of logging out and back in again, I finally found a [terminal command](https://rakhesh.com/mac/macos-find-app-using-secure-input/) that can help figure out what process is using Secure Input:
ioreg -l -w 0 | grep SecureInput
The output of that command will have a bunch of stuff in it, but the important bit is kCGSSessionSecureInputPID=NNN
where NNN
is the ID of the process(es) that are using Secure Input.
You can then use:
ps auxww | grep NNN
... replacing NNN with the number after kCGSSessionSecureInputPID=
from the first command. This will list the process with PID=NNN.
The first terminal command is of little value without the second one, as the output does not give an application name.
% ioreg -l -w 0 | grep SecureInput
| "IOConsoleUsers" = ({"kCGSSessionOnConsoleKey"=Yes,"kSCSecuritySessionID"=100005,"kCGSSessionSecureInputPID"=173,"kCGSSessionGroupIDKey"=20,"kCGSessionLoginDoneKey"=Yes,"kCGSSessionSystemSafeBoot"=No,"kCGSSessionUserNameKey"="alec","kCGSSessionIDKey"=257,"kCGSessionLongUserNameKey"="Alec Kinnear","kCGSSessionAuditIDKey"=100005,"kCGSSessionLoginwindowSafeLogin"=No,"kCGSSessionUserIDKey"=501})
| | "IOConsoleUsers" = ({"kCGSSessionOnConsoleKey"=Yes,"kSCSecuritySessionID"=100005,"kCGSSessionSecureInputPID"=173,"kCGSSessionGroupIDKey"=20,"kCGSessionLoginDoneKey"=Yes,"kCGSSessionSystemSafeBoot"=No,"kCGSSessionUserNameKey"="alec","kCGSSessionIDKey"=257,"kCGSessionLongUserNameKey"="Alec Kinnear","kCGSSessionAuditIDKey"=100005,"kCGSSessionLoginwindowSafeLogin"=No,"kCGSSessionUserIDKey"=501})
On the other hand, the two combined are perfect. Here's what the second command yielded when applied to PID
173
ps auxww | grep 173
alec 173 0.1 0.2 410128480 51856 ?? Ss Sat03pm 6:37.30 /System/Library/CoreServices/loginwindow.app/Contents/MacOS/loginwindow console
alec 33173 0.0 0.0 408234032 6224 ?? S 1:16pm 0:00.08 /usr/libexec/biomesyncd
alec 14359 0.0 0.3 450525248 111472 ?? S Thu02am 0:39.48 /Applications/Brave Browser.app/Contents/Frameworks/Brave Browser Framework.framework/Versions/99.1.36.109/Helpers/Brave Browser Helper (Renderer).app/Contents/MacOS/Brave Browser Helper (Renderer) --type=renderer --disable-client-side-phishing-detection --display-capture-permissions-policy-allowed --origin-trial-public-key=bYUKPJoPnCxeNvu72j4EmPuK7tr1PAC7SHh8ld9Mw3E=,fMS4mpO6buLQ/QMd+zJmxzty/VQ6B1EUZqoCU04zoRU= --brave_session_token=13423536528524367162 --lang=en-GB --num-raster-threads=4 --enable-zero-copy --enable-gpu-memory-buffer-compositor-resources --enable-main-frame-before-activation --renderer-client-id=3036 --launch-time-ticks=236601421739 --shared-files --field-trial-handle=1718379636,r,3517981772750386423,12223908964854909845,131072 --seatbelt-client=112
In my case, it was the Bitwarden login window in Brave (just happened to be Bitwarden, could be any other secure login window in the browser). I didn't even need to quit Brave to be find the secure login page. I just closed the Bitwarden window I had open.¹
Putting my M1 Mac to sleep and waking it back up did not help (it has helped in the past but more often than not does not solve the secure input issue).
Notes
1. I have Bitwarden desktop app (typical Electron web-app rubbish but it works and Bitwarden is essential for our work) open all the time and it does not create secure input enabled
issues. Unfortunately the desktop app does not allow user management.