twofas / 2fas-browser-extension

Source code for 2FAS Browser Extension
https://2fas.com/browser-extension
GNU General Public License v3.0
266 stars 36 forks source link

Cannot Fill Codes on AWS Console #45

Closed brandoningli closed 8 months ago

brandoningli commented 8 months ago

Similar to #35 , I'm getting the same error on the AWS console (signin.aws.amazon.com). I'm prompted to select the text field first despite having the field selected.

Firefox 122.0.1 on macOS 2FAS extension version 1.6.2

GrzegorzZajac000 commented 8 months ago

@brandoningli Thank you for reporting this bug. I will check that.

GrzegorzZajac000 commented 8 months ago

@brandoningli Unfortunately I cannot confirm this issue. I tested logging into AWS on Chrome and Firefox, both on Windows and MacOS, and each time the input was detected correctly.

brandoningli commented 8 months ago

This occurred again for me just now, same Firefox and Extension versions. This is very important for me to have working, as the AWS console is the one site I sign into at least daily.

Edit: Seeing the discussion on #46 ; I'll see if the change for GitHub also fixes my issue here when 1.6.3 gets to me.

GrzegorzZajac000 commented 8 months ago

@brandoningli Fix for GitHub may also work for you on AWS, but it's hard for me to test it because this bug doesn't occur for me. One more question. Are you using a VPN?

brandoningli commented 8 months ago

I'm not using a VPN.

jetofisher commented 8 months ago

I'm also experiencing this with AWS and another site when using Firefox (v122.0.1). These sites are working in Brave Browser (v1.62.165) when I test there. No VPN. 2FAS v1.6.2

GrzegorzZajac000 commented 8 months ago

Can you give me some URL? Maybe there is some different login forms

cotman commented 8 months ago

New user to 2FAS from Authy, and I have the same problem on all my AWS sites with the browser extension.

aws_fail_20240219

Seems to work on other sites I've tried, but none of my AWS logins.

I'm running Chrome Version 121.0.6167.184 (Official Build) (64-bit) on Linux, with 2FAS extension Version 1.6.2.

Note: The example above is from an Incognito window, but it's the same in a normal window too.

GrzegorzZajac000 commented 8 months ago

@cotman Can you send me a screenshot of DOM element of this input from developer console?

cotman commented 8 months ago

Not entirely sure if this is what you're after, but this is the element in Chrome DevTools:

aws_console_mfa_input_1

GrzegorzZajac000 commented 8 months ago

@cotman thank you. Input doesn't have any type. I ignored these inputs on 1.6.2 and earlier versions, but it will be fixed in 1.6.3 ;)

cotman commented 8 months ago

Excellent - thanks @GrzegorzZajac000

jetofisher commented 8 months ago

Hey @GrzegorzZajac000,

The URL I have is a work one and you'd need an account to expose the 2FA input. Here is the HTML element if it helps?

<div class="p-field p-col-12">
    <label for="challenge" data-bt="challengeText" class="challenge-text">Your user account requires two factor
        authentication. Enter the six-digit code generated by your authenticator app.</label>
    <input name="challenge" type="password" value="" id="challenge" data-bt="challenge" autofocus=""
        autocomplete="new-password" data-lpignore="true" class="p-inputtext p-component" spellcheck="false">
</div>
GrzegorzZajac000 commented 8 months ago

@jetofisher That is another input, but this time with password type... Oh, man. I will add this case too. Thank you

jetofisher commented 8 months ago

Appreciate you @GrzegorzZajac000! :)

GrzegorzZajac000 commented 8 months ago

v1.6.3 was uploaded to stores. Should be available in next hours.

brandoningli commented 8 months ago

Just got 1.6.3, and happy to report the AWS code is being filled properly again! Closing this issue out with that news.

Tech323x commented 7 months ago

I am having the same issue with the 2FA for canary.tools

I attached a screenshot of some html, hope this helps...

2fas

KobeW50 commented 7 months ago

@Tech323x it is best to open a new bug report.

Tech323x commented 7 months ago

@Tech323x it is best to open a new bug report.

Done. Thanks for your help!