Signing back into the Community for the first time? You'll need to reset your password to access your account. Find out more.
Forum Discussion
bgrios
9 months agoNew Contributor
2FA not working: Invalid Code
Hello! I recently started using 1Password's 2-factor authentication feature for Salesforce. I set it up about 3-4 days ago and it was working just fine. I didn't use it again after that until yesterd...
bgrios
9 months agoNew Contributor
You said that the one-time password does work initially but later stops working, is that right?
So the 2FA feature of 1Password was working for about 3-4 days ago when I initially set it up as far as I could tell, but I only used it 1-2 times after I set it up. Then when I tried to use it again yesterday it did not work at all and kept giving me the same "Invalid Code" error. Ever since yesterday, I've disconnected and reconnected 1Password to my Salesforce account as a 2FA several times, and while the one-time code it produces when it reads the QR code to link to my Salesforce account does work every time, the codes it gives me to log in every time after that do not work.
Did you remove the old existing one-time password from the Salesforce item in 1Password? You would need to scan the same QR code (which is regenerated each time that you "connect" an authenticator app to Salesforce) at the same time using both authenticator apps.
What I did was I went into Salesforce, and on the "Users" page of Salesforce, I disconnected the authenticator app currently linked to my account (which was 1Password). After that, I logged back in, and when it asked me to connect an authenticator app, I clicked through the prompts until it showed me a QR code to scan. I scanned the same QR code at the same time with 1Password and Google Authenticator when testing this out earlier today. I did not remove the "old existing one-time password from the Salesforce item in 1Password". Can you elaborate on what this means?
Can you tell me how you're scanning the QR code into 1Password? Did you use the browser extension? Or one of the apps?
I'm scanning the QR code using the browser extension.
Are you filling the one-time password into the Salesforce website or are you typing it in?
I'm opening up the extension and pressing the "Copy" button next to code. Then I paste into the Salesforce website. I'm not using the autofill function.