Authenticator icon indicating copy to clipboard operation
Authenticator copied to clipboard

Respect subdomains when filtering

Open ghost opened this issue 8 years ago • 6 comments

Describe the bug: Authenticator is not recognizing TLD subdomains e.g. different 2fa codes existing/utilized for foo.example.com and bar.example.com respectively but for each subdomain only the code is bar.example.com is displayed, probably the one further up in the alphabetic order.

Platform:

  • Browser [FF 61.0.1 x64]
  • Version [5.1.0]

ghost avatar Jul 11 '18 00:07 ghost

Is this related to filtering? If not:

You can't have more than one entry for the same secret. Check and make sure you aren't trying to add the same account secret twice.

mymindstorm avatar Jul 11 '18 01:07 mymindstorm

You can specific which domain to filter the entry. Add the domain to the issuer, and split them with ::

For example: GitHub::github.com

Sneezry avatar Jul 11 '18 01:07 Sneezry

Let me see if I can describe the matter better and how I reached to open this issue.

Got a vendor with 2 different portals on the same TLD but each portal with its own subdomain and each subdomain with its own 2fa engine and being independent from each other.

TLD -> example.com

  1. SD -> foo.example.com -> secret 1234
  2. SD -> bar. example.com -> secret 0987

What I am experiencing is that when visiting either SD and popping out Authenticator it constantly only shows the same SD secret for either SD, meaning it shows the secret for the 2. SD when visiting the 1. SD (incorrect) and visiting the 2. SD (correct).

When visiting the 1. SD and only the secret 2. SD is on display in the Authenticator popout it needs a click on Show all entries to reveal the secret for 1. SD. So it would appear that Authenticator is not aware of subdomains but only TLD.

Which in this particular case it always the 2. SD secret, perhaps either being higher up in the alphabetical order or beend added to Authenticator prior to the 1. SD.

ghost avatar Jul 11 '18 07:07 ghost

Has this slipped out of focus or will not fix?

ghost avatar Apr 04 '19 21:04 ghost

@n8v8R if it's open we will eventually get to it.

mymindstorm avatar Apr 05 '19 00:04 mymindstorm

This is not working for me, I also have multiple domains such as sub1.domain.com sub2.domain.com which are always set as the issuer. However, with the filter enabled it shows all the subdomains, matching only the domain itself (e.g. I am on sub2.domain.com but it also shows the entry for sub1.domain.com).

Suggestion: if filtering WITH the subdomain returns at least one result, use these matches. If not, filter as it is right now. This way, both scenarios are supported smoothly.

hrst avatar May 05 '25 07:05 hrst