Respect subdomains when filtering
Describe the bug: Platform:
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.
You can specific which domain to filter the entry. Add the domain to the issuer, and split them with ::
For example: GitHub::github.com
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
- SD -> foo.example.com -> secret 1234
- 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.
Has this slipped out of focus or will not fix?
@n8v8R if it's open we will eventually get to it.
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.